Title: Widgets Error Message
Last modified: July 19, 2022

---

# Widgets Error Message

 *  Resolved [Mohammad Sanwarul Hoque](https://wordpress.org/support/users/sanwarbd/)
 * (@sanwarbd)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/widgets-error-message/)
 * After activating this plugin, When I go to edit widgets – Appearance -> Widgets-
   we get the following error.
 * Plugin active/deactivate analysis showed that this plugin is causing this message.
 * Notice: Function 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 /Users/…/…/…/wp-includes/functions.
   php on line 5831

Viewing 1 replies (of 1 total)

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/widgets-error-message/#post-15851281)
 * That’s actually just a PHP notice and shouldn’t stop it from working. Do the 
   widgets still show? And, when debug is disabled, is everything okay?
 * Either way, we’ll run some tests and eliminate that notice. By any chance, are
   you using PHP 8.0 or 8.1?
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Widgets Error Message’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/widgets-error-message/#post-15851281)
 * Status: resolved