Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with Constant Contact Forms causes blank metabox #12640

Closed
monbauza opened this issue Apr 10, 2019 · 5 comments
Closed

Conflict with Constant Contact Forms causes blank metabox #12640

monbauza opened this issue Apr 10, 2019 · 5 comments
Labels
wait for update Waiting for a third party to reply or fix an issue

Comments

@monbauza
Copy link

Please give us a description of what happened.

When the Constant Contact Forms plugin plus the Classic Editor are activated, the Yoast metabox appears blank when editing a post or page or creating a new one. The error below appears in the browser's console.

Uncaught TypeError: _.pluck is not a function load-scripts.php?c=1&load[]=wp-autop,wp-blob,wp-block-serialization-default-parser,wp-shortcode,wp-blocks,hoverIntent,common,admin-bar,heartbeat,autosave,su&load[]=ggest,wp-ajax-response,jquery-color,wp-lists,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-u&load[]=i-position,jquery-ui-menu,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortco&load[]=de,backbone,wp-util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovide&load[]=o,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui&load[]=-dialog,wp-api,wp-annotations,quicktags&ver=5.1.1:445

image

With Yoast SEO Premium, the problem occurs even when the Classic Editor is deactivated. A different error appears though.

Uncaught TypeError: this.activateMode is not a function media-views.min.js?ver=5.1.1:1

image

Please describe what you expected to happen and why.

Yoast metabox to load fine and no errors to appear in the browser's console.

Used versions

  • WordPress version: 5.1.1
  • Yoast SEO version: 10.1.3 (free and premium)
  • Constant Contact Forms version: 1.5.1
  • Classic Editor: 1.4
  • Tested with theme: Twenty Nineteen
@Djennez Djennez added the wait for update Waiting for a third party to reply or fix an issue label Apr 10, 2019
@Djennez
Copy link
Member

Djennez commented Apr 10, 2019

wait for update added as the developers of that plugin have been notified and have indicated they're looking into it.

@Pcosta88
Copy link
Contributor

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

@nuvoPoint
Copy link

Hey,
don't want to hijack this thread but this also happens with as little as just one random import in a custom 'enqueue_block_editor_assets' script. Ex:

The script only has one line:
import { withState } from '@wordpress/compose';

Then this error is shown:
Uncaught TypeError: this.activateMode is not a function

Any guidance in why Yoast breaks?

@larssn
Copy link

larssn commented Apr 12, 2019

Webpack users running into this thread should add

externals: {
  lodash: 'lodash'
}

to their webpack.config.js

@Djennez
Copy link
Member

Djennez commented Apr 12, 2019

Closing this as the developer of CCF pushed a fix to the latest release.

@Djennez Djennez closed this as completed Apr 12, 2019
@Djennez Djennez removed the support label Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for update Waiting for a third party to reply or fix an issue
Projects
None yet
Development

No branches or pull requests

5 participants