Sometimes strange behavior may be caused by a plugin or theme conflict. The fastest way to rule out conflicts is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Sixteen. If this resolves the issue, you have a conflict and should activate one plugin at a time until you locate the conflict. Finally, after all plugins are active, switch to your theme. This will narrow down the conflict to a specific plugin or theme.
If you are unfamiliar with checking for conflicts, we wrote a small guide that will walk you through the steps. You can find it here: How To Check For Plugin Conflicts
“after disabling everything and re-enabling the plugins one by one.” kinda preceeds your answer.
Not really. Disabling everything and re-enabling one by one doesn’t specify whether the issue exists when only Yoast SEO is active. Does the issue occur when using a default theme with only Yoast SEO active?
Additionally, we have three reports (listed below) of this error but have not received enough information for us to replicate the issue.
https://github.com/Yoast/wordpress-seo/issues/5761
https://github.com/Yoast/wordpress-seo/issues/5742
https://github.com/Yoast/wordpress-seo/issues/5640 (closed for lack of feedback)
Hi, you are right, it requires a different approach. We now started with a minimal setup and only Yoast SEO installed and the problem did not occur. It was only until we activated the Fusion Builder plugin that’s included in Avada, that we saw this error again.
Thank you for following up. Can you please add that information to one of the open issue reports listed above? Please include as much information as possible so our development team can reproduce the issue in a test environment. If you have not submitted an issue previously, this guide will help you submit a complete report which may result in a faster resolution.
As the issue is a conflict with another plugin or theme, we highly recommend reporting the issue to the development or support team of the other plugin or theme. Having both teams work on the issue is a benefit to you.
Note: As the issue has been reported to our development team, this topic will be marked as resolved. Additional information should be added to the GitHub issue. Thanks!
Hi @amboutwe, I am sorry to reopen this [resolved] topic, but I have done some more testing and played around with activate/deactivate plugins, this is what I found. The order is the order in which the plugins were activated. We strongly believe there is incompatibility between your SEO plugin and other plugins, but each on its own does not throw errors. The only constant is that Yoast SEO + any of these plugins throw an error:
wp-tinymce.php?c=1&ver=4401-20160726:12 Uncaught TypeError: Cannot read property ‘body’ of undefined
Yoast SEO = no error
Yoast SEO + Fusion Builder = error
Yoast SEO + Toolset Types = error
Yoast SEO + Toolset Types + Fusion Builder = error
Fusion Builder = no error
Fusion Builder + Yoast SEO = error
Fusion Builder + Toolset Types = no error
Fusion Builder + Toolset Types + Yoast SEO = error
Toolset Types = no error
Toolset Types + Yoast SEO = error
Toolset Types + Fusion Builder = no error
Toolset Types + Fusion Builder + Yoast SEO = error