Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem: I am trying to fill Yoast meta box in post, pages and custom post type but I get this JS error Uncaught TypeError: Cannot read property 'isSavingMetaBoxes' of undefined Solution: This issue has been solved in WPML 4.1.1

0% of people find this useful.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 28 replies, has 17 voices.

Last updated by Vincenzo 1 year, 10 months ago.

Assigned support staff: Vincenzo.

Author Posts
November 20, 2018 at 2:33 pm #2923487

salvadorC

I am trying to: Fill Yoast meta box in post, pages and custom post type

Link to a page where the issue can be seen: is in admin area

I expected to see: Yoast Meta box with all it´s options

Instead, I got: Empty Yoast Meta box

I´ve tried deactivating all plugins but all related to WPML and Yoast SEO. I also switch my theme to Twenty Seventeen and the problem persists.

If I deactivate WPML everything works great.

There´re few javascript issues in Chrome´s console:

Uncaught TypeError: Cannot read property 'isSavingMetaBoxes' of undefined
at t.value (refresh-wpml-meta-box.js?ver=4.9.8:1)
at refresh-wpml-meta-box.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Array.forEach (<anonymous>)
at e (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at a (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at Object.dispatch (wp-data-920.min.js?ver=4.9.8:1)
at Hx.v (wp-seo-post-scraper-920.min.js?ver=9.2:1)
value @ refresh-wpml-meta-box.js?ver=4.9.8:1
(anonymous) @ refresh-wpml-meta-box.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
e @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
a @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
v @ wp-seo-post-scraper-920.min.js?ver=9.2:1
c.fire @ wp-tinymce.php?c=1&ver=4800-20180716:3
fire @ wp-tinymce.php?c=1&ver=4800-20180716:3
ax @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
setTimeout (async)
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
setTimeout (async)
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
u @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
c @ wp-tinymce.php?c=1&ver=4800-20180716:3
l @ wp-tinymce.php?c=1&ver=4800-20180716:3
load (async)
n @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
e @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
F @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
e @ wp-tinymce.php?c=1&ver=4800-20180716:3
loadAll @ wp-tinymce.php?c=1&ver=4800-20180716:3
ux @ wp-tinymce.php?c=1&ver=4800-20180716:3
lx @ wp-tinymce.php?c=1&ver=4800-20180716:3
vx @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
qt @ wp-tinymce.php?c=1&ver=4800-20180716:3
s @ wp-tinymce.php?c=1&ver=4800-20180716:3
loadScripts @ wp-tinymce.php?c=1&ver=4800-20180716:3
loadQueue @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
waitFor @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
qt @ wp-tinymce.php?c=1&ver=4800-20180716:3
s @ wp-tinymce.php?c=1&ver=4800-20180716:3
loadScripts @ wp-tinymce.php?c=1&ver=4800-20180716:3
loadQueue @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
Cx @ wp-tinymce.php?c=1&ver=4800-20180716:3
xx @ wp-tinymce.php?c=1&ver=4800-20180716:3
render @ wp-tinymce.php?c=1&ver=4800-20180716:3
n @ wp-tinymce.php?c=1&ver=4800-20180716:3
(anonymous) @ wp-tinymce.php?c=1&ver=4800-20180716:3
qt @ wp-tinymce.php?c=1&ver=4800-20180716:3
e @ wp-tinymce.php?c=1&ver=4800-20180716:3
C @ wp-tinymce.php?c=1&ver=4800-20180716:3
d @ wp-tinymce.php?c=1&ver=4800-20180716:3
a @ wp-tinymce.php?c=1&ver=4800-20180716:3
wp-seo-post-scraper-920.min.js?ver=9.2:1 TypeError: Cannot read property 'isSavingMetaBoxes' of undefined
at t.value (refresh-wpml-meta-box.js?ver=4.9.8:1)
at refresh-wpml-meta-box.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Array.forEach (<anonymous>)
at e (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at a (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at Object.dispatch (wp-data-920.min.js?ver=4.9.8:1)
at wp-seo-post-scraper-920.min.js?ver=9.2:1
(anonymous) @ wp-seo-post-scraper-920.min.js?ver=9.2:1
Promise.catch (async)
o @ wp-seo-post-scraper-920.min.js?ver=9.2:1
(anonymous) @ wp-seo-post-scraper-920.min.js?ver=9.2:1
n @ components-920.min.js?ver=9.2:1
h @ components-920.min.js?ver=9.2:1
p @ components-920.min.js?ver=9.2:1
setTimeout (async)
c @ components-920.min.js?ver=9.2:1
y @ components-920.min.js?ver=9.2:1
F.pluginsLoaded @ analysis-920.min.js?ver=9.2:13
d._pollLoadingPlugins @ analysis-920.min.js?ver=9.2:7
setTimeout (async)
d @ analysis-920.min.js?ver=9.2:7
F @ analysis-920.min.js?ver=9.2:13
D @ wp-seo-post-scraper-920.min.js?ver=9.2:1
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
wp-seo-post-scraper-920.min.js?ver=9.2:1 TypeError: Cannot read property 'isSavingMetaBoxes' of undefined
at t.value (refresh-wpml-meta-box.js?ver=4.9.8:1)
at refresh-wpml-meta-box.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Array.forEach (<anonymous>)
at e (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at a (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at Object.dispatch (wp-data-920.min.js?ver=4.9.8:1)
at wp-seo-post-scraper-920.min.js?ver=9.2:1
(anonymous) @ wp-seo-post-scraper-920.min.js?ver=9.2:1
Promise.catch (async)
o @ wp-seo-post-scraper-920.min.js?ver=9.2:1
(anonymous) @ wp-seo-post-scraper-920.min.js?ver=9.2:1
n @ components-920.min.js?ver=9.2:1
h @ components-920.min.js?ver=9.2:1
p @ components-920.min.js?ver=9.2:1
setTimeout (async)
c @ components-920.min.js?ver=9.2:1
y @ components-920.min.js?ver=9.2:1
(anonymous) @ wp-seo-post-scraper-920.min.js?ver=9.2:1
Promise.then (async)
o.init @ wp-seo-post-scraper-920.min.js?ver=9.2:1
value @ wp-seo-post-scraper-920.min.js?ver=9.2:1
D @ wp-seo-post-scraper-920.min.js?ver=9.2:1
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-a11y,jquery-ui-autocomplete,underscore,backbone,wp-util,moxiejs,plupload&ver=4.9.8:2
wp-element-920.min.js?ver=4.9.8:9 TypeError: Cannot read property 'isSavingMetaBoxes' of undefined
at t.value (refresh-wpml-meta-box.js?ver=4.9.8:1)
at refresh-wpml-meta-box.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Array.forEach (<anonymous>)
at e (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at a (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Object.onChangeAnalysisData (wp-seo-post-scraper-920.min.js?ver=9.2:1)
Un @ wp-element-920.min.js?ver=4.9.8:9
Wn.n.callback @ wp-element-920.min.js?ver=4.9.8:9
tn @ wp-element-920.min.js?ver=4.9.8:9
nn @ wp-element-920.min.js?ver=4.9.8:9
dr @ wp-element-920.min.js?ver=4.9.8:9
fr @ wp-element-920.min.js?ver=4.9.8:9
ur @ wp-element-920.min.js?ver=4.9.8:9
lr @ wp-element-920.min.js?ver=4.9.8:9
yr @ wp-element-920.min.js?ver=4.9.8:9
X @ wp-element-920.min.js?ver=4.9.8:9
$e @ wp-element-920.min.js?ver=4.9.8:9
wp-element-920.min.js?ver=4.9.8:9 Uncaught TypeError: Cannot read property 'isSavingMetaBoxes' of undefined
at t.value (refresh-wpml-meta-box.js?ver=4.9.8:1)
at refresh-wpml-meta-box.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Array.forEach (<anonymous>)
at e (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at a (wp-data-920.min.js?ver=4.9.8:1)
at wp-data-920.min.js?ver=4.9.8:1
at wp-data-920.min.js?ver=4.9.8:1
at Object.onChangeAnalysisData (wp-seo-post-scraper-920.min.js?ver=9.2:1)
value @ refresh-wpml-meta-box.js?ver=4.9.8:1
(anonymous) @ refresh-wpml-meta-box.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
e @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
a @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
(anonymous) @ wp-data-920.min.js?ver=4.9.8:1
onChangeAnalysisData @ wp-seo-post-scraper-920.min.js?ver=9.2:1
value @ components-920.min.js?ver=9.2:26
dr @ wp-element-920.min.js?ver=4.9.8:9
fr @ wp-element-920.min.js?ver=4.9.8:9
ur @ wp-element-920.min.js?ver=4.9.8:9
lr @ wp-element-920.min.js?ver=4.9.8:9
yr @ wp-element-920.min.js?ver=4.9.8:9
X @ wp-element-920.min.js?ver=4.9.8:9
$e @ wp-element-920.min.js?ver=4.9.8:9
components-920.min.js?ver=9.2:15 Uncaught TypeError: Cannot read property 'clientHeight' of null
at t.value (components-920.min.js?ver=9.2:15)
at t.value (components-920.min.js?ver=9.2:15)
at components-920.min.js?ver=9.2:15

Thanks!

November 20, 2018 at 2:58 pm #2923579

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello, thank you for contacting WPML Support!

This is a known issue probably introduced by the recently released version of Yoast SEO.

Our Compatibility Team is already working to find a fix to this issue.

I will update you as soon as I have news.

Thank you for your patience.

November 20, 2018 at 8:15 pm #2924695

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello,

our Compatibility Team is still working to fix this.

In the meantime, if you need a workaround, you can enable the Gutenberg plugin.
- https://wordpress.org/plugins/gutenberg/
❌ Before proceeding, please make a full website backup!

You may also need to disable the Classic Editor plugin or enable the "Use the Block editor by default and include optional links back to the Classic editor" option in Settings -> Writing

Please let me know if that fixes the issue or if you prefer waiting for further details from the Compatibility Team.

Thank you

November 21, 2018 at 9:37 am #2925933

Pierre Pontiggia

Hello,

same problem for me.

November 21, 2018 at 10:40 am #2926168

Konstantinos

same here

November 21, 2018 at 11:13 am #2926328

salvadorC

Hi Vincenzo.
With Gutenberg activated everything works great!
Thanks!

November 21, 2018 at 11:17 am #2926365

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Thank you for confirming that the workaround fixed the issue.

Our developers have just fixed the issue. The fix should be available in the next version of WPML.

Best regards,
Vincenzo

November 21, 2018 at 11:49 am #2926392

elenaG

Same problem.
When will the new version be available?
I am finishing a new website and I can not make SEO adjustments 🙁

November 21, 2018 at 2:28 pm #2927068

josefS-12

Crying too :,(

November 21, 2018 at 2:36 pm #2927084

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello,

I don't know when exactly the new version of WPML will be published but it should be soon.

In the meantime, you can either downgrade to Yoast SEO 9.1 or install the Gutenberg plugin to temporarily fix the issue.

Thank you for your patience

November 21, 2018 at 2:56 pm #2927166

josefS-12

Ha! What a easy solution.

For others interested...
1/ Rename folder "wordpress-seo-disabled" to "wordpress-seo-disabled" in "wp-content/plugins"
2/ Download hidden link
3/ Upload in Plugins.

November 22, 2018 at 9:47 am #2929716

elenaG

Hi Vincenzo, how can I downgrade to Yoast SEO 9.1? I do not find this version ;(

November 22, 2018 at 9:58 am #2929779

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

@elenag
You can download the previous versions of any plugin from the Advanced View section (bottom of the page).
https://wordpress.org/plugins/wordpress-seo/advanced/

November 22, 2018 at 10:07 am #2929813

elenaG

Thanks!

November 23, 2018 at 8:45 am #2933072

benkiraneA

Hello,
I also have the same problem since the last update of Yoast Pemium.
Will the WPML update come out soon?
Thank you in advance