wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

WPML conflict - Content tab in yoast disappears

Open NicolaiFriisITO opened this issue 8 years ago • 147 comments

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

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

  • WordPress version: 4,8,9
  • Yoast SEO version: 9,2
  • If relevant, which editor is affected (or editors):
  • [ ] Classic Editor
  • [ ] Gutenberg
  • [ ] Classic Editor plugin
  • Which browser is affected (or browsers):
  • [ ] IE11
  • [ ] Edge
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • Relevant plugins in case of a bug: WPML
  • Tested with theme: Twenty Fifteen

NicolaiFriisITO avatar Nov 20 '18 14:11 NicolaiFriisITO

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.

FedeltaMedia avatar Nov 20 '18 14:11 FedeltaMedia

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

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

NicolaiFriisITO avatar Nov 20 '18 14:11 NicolaiFriisITO

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

viktorfw avatar Nov 20 '18 15:11 viktorfw

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 avatar Nov 20 '18 18:11 Pcosta88

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

Pcosta88 avatar Nov 20 '18 18:11 Pcosta88

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

amboutwe avatar Nov 20 '18 18:11 amboutwe

same issue, all is messed up after the update

sonizuro avatar Nov 20 '18 19:11 sonizuro

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

Pcosta88 avatar Nov 20 '18 19:11 Pcosta88

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

mayada-ibrahim avatar Nov 20 '18 19:11 mayada-ibrahim

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

devnihil avatar Nov 20 '18 20:11 devnihil

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

Jerparx avatar Nov 21 '18 06:11 Jerparx

image

monbauza avatar Nov 21 '18 07:11 monbauza

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)

jordif avatar Nov 21 '18 09:11 jordif

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

Jerparx avatar Nov 21 '18 09:11 Jerparx

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

monbauza avatar Nov 21 '18 10:11 monbauza

Same problem. Any solution?

elemoving avatar Nov 21 '18 11:11 elemoving

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

monbauza avatar Nov 21 '18 12:11 monbauza

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

monbauza avatar Nov 21 '18 12:11 monbauza

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

asikainl avatar Nov 21 '18 12:11 asikainl

/cc @dgwatkins

moorscode avatar Nov 21 '18 13:11 moorscode