Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.75k stars 885 forks source link

YOAST SEO Update is killing my JQuery #4536

Closed pastedtoast closed 8 years ago

pastedtoast commented 8 years ago

What did you expect to happen?

I expected WP page editor to act as normal after my Yoast SEO Update

What happened instead?

I just updated yoast and now my editor won't allow me to switch from visual to text editor in WP. I am unable to add media by selecting the add media button. When I bring down screen options and select/deselect options my page doesn't update. It seems Yoast is breaking my sites Jquery or something.

How can we reproduce this behavior?

Not sure how you can reproduce it as it happened after my last YOAST update and wasn't happening with the previous version. System info below.

Can you provide a link to a page which shows this issue? This is the website: http://www.capitolcollision.net But it happens when logged in as an admin user and in the editor.

Technical info

WP 4.5.2 Theme: Ultimatum 2.7.3 Server: Apache PHP Version: 5.6.14 Plugins installed and in use: LayerSlider WP by Kreatura Media version 5.3.3b, Advanced Most Recent Posts Mod by Kailey Lampert version 1.6.5.2, Brute Force Login Protection by Fresh-Media version 1.5.2, Contact Form 7 by Takayuki Miyoshi version 4.4.2, Exclude Pages from Navigation by Simon Wheatley version 1.92, Google XML Sitemap for Images by Amit Agarwal version 2.1.3, Redirection by John Godley version 2.4.4, SEO Friendly Images by Vladimir Prelovac version 3.0.5, Slideshow Gallery by Tribulant Software version 1.5.3.4, StatPress Reloaded by Manuel Grabowski version 1.5.21, TheThe Image Slider by TheThe Fly version 1.1.8, Ultimate Google Analytics by Wilfred van der Deijl version 1.6.0, Ultimate TinyMCE by Josh Lobe version 5.7, Ultimatum library by Wonder Foundry version 1.0, Ultimatum Mobility by Wonder Foundry version 1.0, Wordfence Security by Wordfence version 6.1.6, Yoast SEO by Team Yoast version 3.2.5, WP Captcha Free by iDope version 0.9.1, WordPress Google +1 Button - Advanced Plugin, Includes Redirection by Jacob Gillespie version 1.9, Acunetix WP Security by Acunetix version 4.0.5

pastedtoast commented 8 years ago

oh and thank you for your help/feedback. I appreciate it! As it is now I am able to deactivate YOAST SEO, then make changes and reactivate it.

Rarst commented 8 years ago

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?

Why do you point out jQuery specifically, why do you think the plugin interferes with it precisely?

pastedtoast commented 8 years ago

WP_Debug doesn't show anything when turned on when Yoast is activated.

I haven't checked to see where the conflict is (As far as deactivating themes and plugins) because with the old version of yoast everything worked fine, and the site itself works fine when yoast is deactivated. I suppose I can look for the conflict but the issue is with yoast as it is what has changed and can be deactivated when the problem is there or not. The site is also live, and a business so making those changes at the moment isn't an option. I can move it over to wamp server and test it but I am a contractor and don't have the time for that at the moment (will need to get it approved prior to going that route).

I say it is interfering with JQuery because the tabs, and buttons that are affected are Jquery related, and when I Googled the issue. Some of the past issues that were related or similar to this were all JQuery issues when fixed. (usually by loading a plugin, example: https://wordpress.org/support/topic/images-wont-load-cant-switch-from-visual-to-text-cant-add-tags) and I know loading a plugin is just a mask of the issue, so I was hoping to not have to do that.

pastedtoast commented 8 years ago

Update: I have checked with three of my other sites that have the same theme Ultimatum 2.8.9 and different plugins. One is showing the issue and others are not.

The one that is, same server as the other, and these plugins (also broken): Advanced Code Editor by BaInternet version 2.2.6, Brute Force Login Protection by Fresh-Media version 1.5.2, Contact Form 7 by Takayuki Miyoshi version 4.4.2, Google XML Sitemap for Images by Amit Agarwal version 2.1.3, NextGEN Gallery by Photocrati by Photocrati Media version 2.1.31, Q and A FAQ and Knowledge Base for WordPress by Raygun version 1.0.6.2, Really Simple CAPTCHA by Takayuki Miyoshi version 1.9, Redirection by John Godley version 2.4.4, SEO Slugs by Andrei Mikrukov version 1.0, Simple Tags by Amaury BALMER version 2.4.6, Testimonials Widget by Axelerant version 3.3.0, Ultimatum Connect WooCommerce by Wonder Foundry version 1.0.0, Ultimatum library by Wonder Foundry version 1.0, Ultimatum Mobility by Wonder Foundry version 1.0, WooCommerce by WooThemes version 2.5.5, Wordfence Security by Wordfence version 6.1.7, Yoast SEO by Team Yoast version 3.2.5, Acunetix WP Security by Acunetix version 4.0.5, WP-Testimonials by Jodi Diehl version 3.4.1, wpautop-control by Rowan Rodrik van der Molen, Jesse Jacobsen . version 1.6

Same Server and Working fine, same theme as well: Brute Force Login Protection by Fresh-Media version 1.5.2, Contact Form 7 by Takayuki Miyoshi version 4.4.2, Google XML Sitemap for Images by Amit Agarwal version 2.1.3, NextGEN Gallery by Photocrati by Photocrati Media version 2.1.31, Redirection by John Godley version 2.4.4, Simple Tags by Amaury BALMER version 2.4.6, Ultimatum library by Wonder Foundry version 1.0, Wordfence Security by Wordfence version 6.1.7, Yoast SEO by Team Yoast version 3.2.5, Acunetix WP Security by Acunetix version 4.0.5

The one that is working has these plugins, and different server: LayerSlider WP by Kreatura Media version 5.6.5, Brute Force Login Protection by Fresh-Media version 1.5.2, Contact Form 7 by Takayuki Miyoshi version 4.4.2, Device Mockups by Sixteenbit version 1.6.0, Enhanced Text Widget by Boston Dell-Vandenberg version 1.4.5, Google XML Sitemap for Images by Amit Agarwal version 2.1.3, Really Simple CAPTCHA by Takayuki Miyoshi version 1.9, SEO Slugs by Andrei Mikrukov version 1.0, Simple Popup Plugin by Garrett Grimm version 4.3, Social Media and Share Icons (Ultimate Social Media) by UltimatelySocial version 1.4.8, Ultimatum library by Wonder Foundry version 1.0, Ultimatum Mobility by Wonder Foundry version 1.0, Wordfence Security by Wordfence version 6.1.7, Yoast SEO by Team Yoast version 3.2.5, WP-DBManager by Lester 'GaMerZ' Chan version 2.78, Acunetix WP Security by Acunetix version 4.0.5, wpautop-control by Rowan Rodrik van der Molen, Jesse Jacobsen . version 1.6

I have deactivated all the plugins that are corresponding between broken installations, and no luck.

*Edits due to making the formatting of the post a little easier to read.

Rarst commented 8 years ago

Could you possibly try switching to a core theme as well?

pastedtoast commented 8 years ago

Ok I finally got a local install working, and changed the theme to 2016...and problem fixed. Depressing haha

so, I will look at the theme DB boards and see if they have any info on conflicts with Yoast or other JQuery issues. It is weird that deactivating yoast fixes it, but the conflict seems more between the theme and something in jquery I suppose than yoast specific.

pastedtoast commented 8 years ago

Thanks Rarst appreciate the time and help :)