TypeError: Cannot read property 'wpRestNonce' of undefined

Posted in: Newspaper
Post count: 4

Hi there,
I’ve updated Newspaper theme to the Version: 10.3.9.1

Trying to publish or update a post, I am getting this error into the console.

Uncaught (in promise) TypeError: Cannot read property 'wpRestNonce' of undefined

Turning off TD-Composer plugin the error disappears, however I need that plugin ON. I have fixed commented out this line of code:

beforeSend: function ( xhr ) {
// Temporary FIX xhr.setRequestHeader( 'X-WP-Nonce', window.tdwGlobal.wpRestNonce);
},

into the file wp-content/themes/Newspaper/includes/wp-booster/wp-admin/js/tagdiv-theme-plugins-setup.js

Have you got any idea?

Thank you

Post count: 18283

Hello !

Please send us a screenshot of your System Status Tab and make sure that all the requirements are met as you can see here: https://forum.tagdiv.com/requirements-for-newspaper/ ; You will have to first start looking for a plugin conflict. please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Also you can try and remove and re-install the tagDiv Composer plugin and please send us a link to your website in order to take a look.

Let us know the results.

Thank you !

Post count: 3

Hello,

I have updated to the very last version of NewsPaper, but the mentioned error is still there.

You should find the screenshot here: https://snipboard.io/O54sTo.jpg

The error goes away by deactivating the WordPress SEO plugin (Yoast).

Hope it helps.

Post count: 27744

Hello,

This is a very strange issue. Please let me know if you use Yoast Seo PREMIUM
Also, if you agree we would like to investigate this issue and find out what is the cause, please make a full backup to all files and database and contact us via email at contact@tagdiv.com and provide the following:
– wp-admin URL and credentials
– a link to this topic to identify you
Our team will take a look!
Also during the investigation to know that we will disable the other non tagDiv plugins

Thank you!

Post count: 3

Hello,

we are using the free WordPress SEO plugin version.

I will update you sending a staging environment. Unfortunately I can’t play with plugins on the production environment.

Thank you

Post count: 21065

Hello!

If you sent an email, then we will take a look and reply to you as soon as possible.

Thank you for understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.