Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 894 forks source link

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

Closed karan4official closed 3 years ago

karan4official commented 3 years ago

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

Used versions

Djennez commented 3 years ago

Duplicate of https://github.com/Yoast/wordpress-seo/issues/17275