Title: Widget Editor PHP Error
Last modified: July 25, 2021

---

# Widget Editor PHP Error

 *  [Dave](https://wordpress.org/support/users/csn123/)
 * (@csn123)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-editor-php-error/)
 * WP 5.8 throws a warning on the Widgets admin screen when Responsive Lightbox 
   is enabled:
 * `wp_enqueue_script() was called incorrectly. "wp-editor" script should not be
   enqueued together with the new widgets editor`
 * Looking at the code, Responsive Lightbox enqueues the ‘wp-editor’ script, which
   the new widget block editor does not like. Disabling the plugin removes the error.

The topic ‘Widget Editor PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Dave](https://wordpress.org/support/users/csn123/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/widget-editor-php-error/)
 * Status: not resolved