Wordpress-seo: Yoast Metabox fails to load properly when editing posts and pages due to a conflict with the plugin Gravity PDF

Created on 6 Dec 2017  路  2Comments  路  Source: Yoast/wordpress-seo

  • [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.

The Yoast meta box fails to load the readability and keyword tab properly when editing posts and pages due to JS errors in the console tab, which appears to be a conflict with the plugin Gravity PDF (requires at least v1.9 of Gravity Forms installed)

image

Please describe what you expected to happen and why.

For the Yoast meta box to load properly when editing a post or page.

How can we reproduce this behavior?

  1. Install v2.2.3.1 of Gravity Forms, v4.3.0 of Gravity PDF and v5.9.1 of Yoast SEO
  2. Activate all three plugins
  3. Go to any post/page and edit

Red error messages that appear in the console tab of the browser: (5)

Uncaught TypeError: Cannot read property 'call' of undefined
at t (commons-591.min.js:1)
at Object.137 (app.bundle.min.js:1)
at t (commons-591.min.js:1)
at window.webpackJsonp (commons-591.min.js:1)
at window.webpackJsonp (vendor.bundle.min.js:1)
at app.bundle.min.js:1

Uncaught TypeError: f.default.div is not a function
at Object. (wp-seo-help-center-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-help-center-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-help-center-591.min.js:13)
at e (vendor.bundle.min.js:1)
at window.webpackJsonp (vendor.bundle.min.js:1)
at wp-seo-help-center-591.min.js:1

Uncaught TypeError: r(...) is not a function
at Object. (wp-seo-post-scraper-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-post-scraper-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-post-scraper-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-post-scraper-591.min.js:13)
at e (vendor.bundle.min.js:1)
at Object. (wp-seo-post-scraper-591.min.js:13)
at e (vendor.bundle.min.js:1)

Uncaught TypeError: o is not a function
at r [as get] (wp-seo-help-center-591.min.js:6)
at r [as get] (wp-seo-help-center-591.min.js:6)
at n (wp-seo-post-scraper-591.min.js:13)
at wp-seo-post-scraper-591.min.js:1
at wp-seo-post-scraper-591.min.js:13
at n (wp-seo-post-scraper-591.min.js:1)
at wp-seo-post-scraper-591.min.js:13
at wp-seo-post-scraper-591.min.js:1
at r (wp-seo-help-center-591.min.js:1)
at wp-seo-help-center-591.min.js:1

Uncaught TypeError: Cannot read property 'appendChild' of null
at executeScriptInDocument (api_injection.js:8)
at publishApi (api_injection.js:17)
at initApiInjection (api_injection.js:2)
at script_injection.js:42

image
image
image

Technical info

  • WordPress version: 4.9.1
  • Yoast SEO version: 5.9.1
  • Relevant plugins in case of a bug: v4.3.0 of Gravity PDF & v2.2.3.1 of Gravity Forms
  • Other information: Issue occurs with both v5.9.1 of Yoast SEO free and Yoast SEO premium
support

Most helpful comment

Gravity PDF developer here. We're pushing out an update today that will resolve this conflict.

Update: Gravity PDF 4.3.1 was just published which should resolve this conflict.

All 2 comments

Gravity PDF developer here. We're pushing out an update today that will resolve this conflict.

Update: Gravity PDF 4.3.1 was just published which should resolve this conflict.

Updated to v4.3.1 of Gravity PDF and can confirm that the Yoast meta box is working as intended, and there are no more JS errors. Informed the user who experienced this issue. Closing this issue.

Thank you, @jakejackson1!

Was this page helpful?
0 / 5 - 0 ratings