Conflict with Yoast SEO
-
I was having a problem with Yoast SEO metabox not showing correctly its contents on edit post page (https://imgur.com/7a5ukIn) and checked for plugins conflicts as explained by Yoast here: https://yoast.com/help/how-to-check-for-plugin-conflicts/
So, I installed Health Check, entered Troubleshooting mode and activated only Yoast. The problem wasn’t reproduced. I did that to every plugin I have and the only combination that reproduced the error was the one that had Yoast, WooCommerce and YITH Affiliates plugins activated.
With this combination of plugins, I’ve found this error on Chrome console (it seems this is causing the error of Yoast metabox not showing its contents):
Uncaught ReferenceError: yith_wcaf is not defined at Function.a.yith_wcaf_set_cookies (yith-wcaf.min.js?ver=5.4:13) at HTMLDocument.<anonymous> (yith-wcaf.min.js?ver=5.4:14) at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) at Function.ready (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) at HTMLDocument.J (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) wp-auth-check.min.js?ver=5.4:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.4:2) at HTMLDocument.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3) at HTMLDocument.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3) at Object.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3) at Object.a.event.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:8) at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3) at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2) at a.fn.init.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3) at Object.<anonymous> (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,heartbeat,wp-url&ver=5.4:11)
Also, this problem happens on edit posts page, but not on edit products.
Did you know about this issue? Is there something we can do to end it?
WP version 5.4
WooCommerce version: 4.0.1
YITH WooCommerce Affiliates version: 1.7.0
Yoast SEO: version: 13.5
- The topic ‘Conflict with Yoast SEO’ is closed to new replies.