WPML conflict - Content tab in yoast disappears
- [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?
- Install wpml and yoast both latest version.
- Open and edit a page and scroll down to yoast
- 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
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.
Glad to hear im not the only one with the issue.
I just downloaded the version 9.1 and that works fine with WPML.
I just had exactly the same problem after upgrading Yoast (and several other plugins). Thanks @NicolaiFriis I rolled back to 9.1 as well.
1. Activate Yoast SEO and WPML
2. Visit a Post or Page
3. Yoast SEO Metabox Fails to Load

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
Please inform the customer of conversation # 445689 when this conversation has been closed.
Please inform the customer of conversation # 443911 when this conversation has been closed.
same issue, all is messed up after the update
Please inform the customer of conversation # 445610 when this conversation has been closed.
Please inform the customer of conversation # 445748 when this conversation has been closed.
Please inform the customer of conversation # 445714 when this conversation has been closed.
Please inform the customer of conversation # 445853 when this conversation has been closed.

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)
Please inform the customer of conversation # 445622 when this conversation has been closed.
Please inform the customer of conversation # 445875 when this conversation has been closed.
Same problem. Any solution?
Please inform the customer of conversation # 445601 when this conversation has been closed.
Please inform the customer of conversation # 445896 when this conversation has been closed.
Same issue with WPML installed on our company site too. Please release a bugfix update, thank you.
/cc @dgwatkins