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

Widgets not working after with wp 5.8 and yoast seo #17346

Closed
karan4official opened this issue Aug 13, 2021 · 1 comment
Closed

Widgets not working after with wp 5.8 and yoast seo #17346

karan4official opened this issue Aug 13, 2021 · 1 comment

Comments

@karan4official
Copy link

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

Please give us a description of what happened.

After updating wordpress to 5.8 widgets are not working fine and giving this notice :

PHP Notice: wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in C:\xampp\htdocs\test.test\wp-includes\functions.php on line 5535

To fix it we temporary we removed the dependency of wp-editor in wordpress-seo/src/generated/assets/plugin.php

Can you please fix it in your next release ?

Please describe what you expected to happen and why.

Wordpress Widgets should work properly without any error or notice

How can we reproduce this behavior?

  1. Updated wordpress 5.8
  2. Visit wp5.8site.domain/wp-admin/widgets.php

Technical info

  • If relevant, which editor is affected (or editors):
  • [ no] Classic Editor
  • [ yes] Gutenberg
  • [ no] Classic Editor plugin
  • Which browser is affected (or browsers):
  • [yes ] Chrome
  • [yes ] Firefox
  • [ yes] Safari
  • [ All] Other

Used versions

  • WordPress version: 5.8
  • Yoast SEO version: 16.9
  • Gutenberg plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug:
  • Tested with theme: TwentyTwenty
@Djennez
Copy link
Member

Djennez commented Aug 13, 2021

Duplicate of #17275

@Djennez Djennez marked this as a duplicate of #17275 Aug 13, 2021
@Djennez Djennez closed this as completed Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants