Conflict with Yoast?

Posted in: Newspaper
Post count: 9

I cannot edit custom CSS when Yoast is enabled. I get a JS error in the console when loading the composer:

tagdiv-theme-plugins-setup.js?ver=10.3.6.1:237 Uncaught TypeError: Cannot read property 'registerPlugin' of undefined
    at tagdiv-theme-plugins-setup.js?ver=10.3.6.1:237
    at dispatch (jquery.js?ver=1.12.4-wp:3)
    at r.handle (jquery.js?ver=1.12.4-wp:3)

Doing a little debugging, YoastSEO is an object, but has no properties, including the app property so this line fails:

YoastSEO.app.registerPlugin( 'tdYoastSEOPlugin', {status: 'loading'} );

If I deactivate Yoast, it works fine. Any thoughts?

Post count: 20688

Hi,

We are aware of some issues that happened after the latest Yoast update it seems, in the composer. The solution until the issues are fixed would be to use the previous Yoast plugin version https://wordpress.org/plugins/wordpress-seo/advanced/
Sorry for the inconveninece.

Thank you!

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