Yoast / wordpress-seo

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

WPML conflict - Content tab in yoast disappears #11646

Closed NicolaiFriis closed 5 years ago

NicolaiFriis commented 5 years ago

Please give us a description of what happened.

When using WPML and Yoast the content tab (the first one with preview and rating) disappears. It shows while loading the read analytics (with the smiley and color) but then disappears after some time loading. If i click on edit snippet (on the preview) it disappears right away.

I made a copy of the site and tried disabling all plugins and activating one by one. That way i found out it was wpml. I used the theme: Twenty Fifteen while testing.

Please describe what you expected to happen and why.

I was expecting the normal tab where i can write title tags, see what to do better and so on.

How can we reproduce this behavior?

  1. Install wpml and yoast both latest version.
  2. Open and edit a page and scroll down to yoast
  3. Wait for it to load, see it disaapear.

Technical info

Fidelity88 commented 5 years ago

I was just about to publish the exact same bug! When I disable Yoast SEO, everything works. When I disable WPML everything works.

The conflict seems to be in: wp-content/plugins/sitepress-multilingual-cms/dist/js/wpml-meta-box/refresh-wpml-meta-box.js as this file gives an error as soon as you activate Yoast SEO plugin.

NicolaiFriis commented 5 years ago

Glad to hear im not the only one with the issue.

I just downloaded the version 9.1 and that works fine with WPML.

viktorfw commented 5 years ago

I just had exactly the same problem after upgrading Yoast (and several other plugins). Thanks @NicolaiFriis I rolled back to 9.1 as well.

Pcosta88 commented 5 years ago

1. Activate Yoast SEO and WPML

2. Visit a Post or Page

3. Yoast SEO Metabox Fails to Load

screen shot 2018-11-20 at 1 31 40 pm

JS Errors that get thrown out:

TypeError: Cannot read property 'isSavingMetaBoxes' of undefined AND

TypeError: Cannot read property 'clientHeight' of undefined

Tech Specs WP: 4.9.8 Yoast SEO: 9.2 WPML Multilingual CMS: v4.0.8

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 445689 when this conversation has been closed.

amboutwe commented 5 years ago

Please inform the customer of conversation # 443911 when this conversation has been closed.

sonizuro commented 5 years ago

same issue, all is messed up after the update

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 445610 when this conversation has been closed.

mayada-ibrahim commented 5 years ago

Please inform the customer of conversation # 445748 when this conversation has been closed.

devnihil commented 5 years ago

Please inform the customer of conversation # 445714 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 445853 when this conversation has been closed.

monbauza commented 5 years ago

image

jordif commented 5 years ago

I'm also getting this error with latest version of Yoast and WPML.

Also, when I change from Visual to Text editor (main post editor) the editor goes blank.

Error in console: Cannot read property 'isSavingMetaBoxes' of undefined (wp-seo-post-scraper-920.min.js?ver=9.2)

Jerparx commented 5 years ago

Please inform the customer of conversation # 445622 when this conversation has been closed.

monbauza commented 5 years ago

Please inform the customer of conversation # 445875 when this conversation has been closed.

elemoving commented 5 years ago

Same problem. Any solution?

monbauza commented 5 years ago

Please inform the customer of conversation # 445601 when this conversation has been closed.

monbauza commented 5 years ago

Please inform the customer of conversation # 445896 when this conversation has been closed.

asikainl commented 5 years ago

Same issue with WPML installed on our company site too. Please release a bugfix update, thank you.

moorscode commented 5 years ago

/cc @dgwatkins

dgwatkins commented 5 years ago

It happens only with the Classic Editor and its already fixed in WPML's development version (this morning). Please hold on until we release this (very shortly)

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 445962 when this conversation has been closed.

priscillamc commented 5 years ago

Please inform the customer of conversation # 445986 when this conversation has been closed.

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 445984 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446014 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446029 when this conversation has been closed.

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 446035 when this conversation has been closed.

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 446049 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446036 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 445811 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 445972 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446075 when this conversation has been closed.

rmarcano commented 5 years ago

Please inform the customer of conversation # 446110 when this conversation has been closed.

rmarcano commented 5 years ago

Please inform the customer of conversation # 446128 when this conversation has been closed.

rmarcano commented 5 years ago

Please inform the customer of conversation # 445714 when this conversation has been closed.

rmarcano commented 5 years ago

Please inform the customer of conversation # 446143 when this conversation has been closed.

rumejan commented 5 years ago

Please inform the customer of conversation # 446198 when this conversation has been closed.

SimonVetterli commented 5 years ago

I also get the same error, already when I updated to 9.2, and the latest version 9.2.1 is not better.

Change from visual to text mode, it goes blank. In edit "snippet" it goes blank too.

I also have wpml installed, all the latest versions.

suascat commented 5 years ago

Please inform the customer of conversation # 446196 when this conversation has been closed.

suascat commented 5 years ago

Please inform the customer of conversation # 445887 when this conversation has been closed.

sonizuro commented 5 years ago

Just updated to 9.2.1 - same problems. Nothing has changed

Jerparx commented 5 years ago

Please inform the customer of conversation # 446259 when this conversation has been closed.

elemoving commented 5 years ago

Just updated to 9.2.1 - same problem.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446280 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446276 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446277 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446272 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 445807 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 445931 when this conversation has been closed.

Jerparx commented 5 years ago

Please inform the customer of conversation # 446080 when this conversation has been closed.