Roots Discourse

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?

1 Like

Maybe this thread is useful enough