Error message in the Widgets admin section
-
Hi,
I’m getting this error in the top of the Widgets admin section: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 /home/user/domain.com/wp-includes/functions.php on line 5831
After disabling all the pluging and then enabling them one by one, I found out that the error appears only when the plugin GDPR Cookie Consent is enabled
PD: I have enabled WP_DEBUG in wp-config.php
¿Any why to solve this?
Thank you
-
Hi @hicham538,
We could not able to replicate this issue on our end.
Could you please provide us with steps to replicate the issue along with screenshots of errors?
Best Regards.
Hi,
Thank you for the answer. The error appears in the top of the Widgets admin page (only if the plugin is activated).
I want to send you a screenshot but I’m not able to do it here. Please tell me where could i send it.
Thank you
HichamHere is the screenshort. forgot about this method 🙂
Hi @hicham538,
We could not able to replicate this issue on our end.
Could you please try to clear your WordPress cache and try to reinstall the plugin?
Best regards.
Hi,
I cleared the WordPress cache. I reinstalled the plugin. I also replaced all the files and folders of the WordPress installation with those of another installation. But the error continue appearing once I enable the plugin. Seams related with something in the database.
The only solution I found to remove the error while using the plugin, was to disable the new block editor for widgets:// deactivate new block editor function phi_theme_support() { remove_theme_support( 'widgets-block-editor' ); } add_action( 'after_setup_theme', 'phi_theme_support' );Thank you
Hi @hicham538,
Could you please raise a ticket with our support channel at [email protected] for a faster resolution?
Best regards.
The topic ‘Error message in the Widgets admin section’ is closed to new replies.