Yoast SEO WordPress plugin breaks Page edit.
What did you expect to happen?
When I go into edit a page, I expect to see the 'Visual' and 'Text' available for edit.
What happened instead?
The 'Visual' tab is blank. When I click over to 'Text' and back to 'Visual', the page is now there, but when adding any information and updating, the page doesn't save.
How can we reproduce this behavior?
Activate Yoast SEO. Go to 'Pages', edit one.
Can you provide a link to a page which shows this issue?
Technical info
- WordPress version: 4.5.2
- Yoast SEO version: 3.2.5
Are there any PHP errors (with WP_DEBUG enabled) or JavaScript errors in browser console?
Have you tried disabling other plugins / switching to a core theme to check for conflict?
I also have this issue. I'm guessing here, but similar issues seem to center around the jQuery 1.12 attribute selector fix.
Yoast breaking visual editor Yoast SEO 3.2.3 and WP4.5 - visual editor problem
See attached screenshot for error with Yoast activated on post edit page
@blg002 that doesn't seem directly related to our code.
Have you tried disabling other plugins / switching to a core theme to check for conflict?
No, but disabling Yoast immediately fixed the issue.
If it's caused by a conflict with something else we need information what is that something else.
The issue that I was having is that we are using a theme that is fairly old. When switching to a core theme this issue goes away, but we have to have old theme as it has our customized style.
I disabled all other plugins… same problem, same error. If i then switch to Twenty Fifteen, it works, no error.
Any information on what exactly theme might be doing to cause this?
It might or might not be something we can handle better, depending on details.
The theme I'm using is a custom one. It's not doing anything all that complex, i think. Sorry, thats probably not all that helpful but i'm not exactly sure what kinds of things you are asking about.
Page Editor (the entire page) is blank for me. Here's the PHP Error I get when trying to edit a page with Yoast SEO enabled: PHP Fatal error: Cannot instantiate abstract class WPSEO_Redirect_Manager in ../../public_html/wp-content/plugins/yoast-wordpress-seo-premium/premium/classes/redirect/class-redirect-ajax.php on line 27
Disabling Yoast fixes the issue.
Yoast Premium v.3.3.2 Visual Composer v.4.12
@slistudios That doesn't seem related to this issue. Please contact Premium support via [email protected] for issues specific to it. This repository primarily handles Free plugin.
Any new development on this ?. I had same issue with WordPress version: 4.5.3 and Yoast SEO version: 3.4
Disabling Yoast fixes the issue but it was not a solution for me. So I removed, tested, all Javascript from my theme, then from each of my plugins, until I found it!
My problem came from an 2 years old plugin, "Opening Hours". When both "Opening Hours" and Yoast were activated, my visual editor was all blank. Disable "Opening Hours" and Yoast was working as the visual editor back to normal.
Looking into the "Opening Hours" plugin, I found out it was using a quite old jQuery UI library (1.10.3). Changed to last jQuery UI 1.12.0 and my visual editor on Wordpress was back on track with Yoast running finally!
I hope it could help someone.
Since OP didn't follow up this isn't clearly actionable. If you have similar issues please open a new thread with details.
For jQuery and jQuery UI we would normally assume versions provided by WP core are being used. Other extensions loading different versions, without properly encapsulating them, isn't something we can account for really.
Just to add - daffscat is a hero - the Opening Hours plugin seems to be what causes this issue for me. I have WP 4.6.1 and Yoast SEO Free 3.7.0.
Rarst - I'm assuming from your closing response that this is not a compatibility issue that you can help with?
I am still getting some JS errors in Console but they don't seem to be the ones stopping the Visual Editor from working.

Yes, as per my comment above if some code chooses to load old version of the library we can't really do anything about it on our side. We try to stick with native environment as much as possible, so jQuery verison shipped with WP core.