Opened 8 months ago
#61364 new defect (bug)
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)
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | critical | Version: | 5.8 |
Component: | Widgets | Keywords: | |
Focuses: | Cc: |
Description
PHP Error: 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). (This message was added in version 5.8.0.)
on https://example.com/wp-admin/widgets.php
7. /path/wp-includes/class-wp-hook.php (324): wp_check_widget_editor_deps() 8. /path/wp-includes/class-wp-hook.php (348): WP_Hook->apply_filters( $value = NULL, $args = Array( [0] => ) ) 9. /path/wp-includes/plugin.php (507): WP_Hook->do_action( $args = Array( [0] => ) ) 10. /path/wp-admin/admin-header.php (163): do_action( $hook_name = 'admin_head' ) 11. /path/wp-admin/widgets-form-blocks.php (70): require_once( '/path/wp-admin/admin-header.php' ) 12. /path/wp-admin/widgets.php (32): require( '/path/wp-admin/widgets-form-blocks.php' )
This should get fixed with WP 6.6 as it's a WP internal issue that has existed for a while - I saw the other tickets which were created for this previously were shot down bc the reporter didn't know how to report this in a general way and without details.
However I get this by just opening the URL.
The stack trace does not include anything custom - it appears to happen on a regular/default WP install.
Note: See
TracTickets for help on using
tickets.