Warning on Widgets screen
-
On a clean install that only has the Seriously Simple Podcasting plugin active and the Twenty Twenty One theme AND after setting
WP_DEBUGtotrue, the following error message is displayed:Notice: Function 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 <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /redacted/path/to/wp/wp-includes/functions.php</b> on line 5905You seem to be adding
wp-editoras a dependency to thessp-block-scriptscript, which triggers the above error notice. I can’t tell if there are other side-effects to having the wrong dependency, but this can be an issue during development with strict error reporting.My temporary workaround is to unregister all of the player blocks, as well as deregister the
ssp-block-scripton the Widgets page.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Warning on Widgets screen’ is closed to new replies.

