Problem with widgets page in admin panel

Hi, i have a problem to open widgets panel in wordpress 5.8.

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). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.)

Steps to reproduce problem:

  1. Set variable $sage_env = ‘development’;
  2. Log in admin panel
  3. Open Appearance -> Widgets

How to correct add assets?

2 Likes

Maybe this thread is useful enough

Hi @carlosfaria
This solution works, but is it the right way to do it ?

Not my solution sorry,

just ask @tombro in that thread ;D

This topic was automatically closed after 42 days. New replies are no longer allowed.