Title: Notice about function wp_enqueue_script()
Last modified: January 2, 2024

---

# Notice about function wp_enqueue_script()

 *  Resolved [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/)
 * Hi Danny,
 * With WP 6.4 and debugging turned on I get this warning:
 * _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)._
 * Guido

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [DannyCooper](https://wordpress.org/support/users/dannycooper/)
 * (@dannycooper)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/#post-17320040)
 * Hi [@guido07111975](https://wordpress.org/support/users/guido07111975/),
 * Is this notice definitely generated by Fonts Plugin? We have our testing development
   on the latest version of WP with the highest level of debug logging enabled and
   we can’t replicate this.
 *  Thread Starter [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/#post-17320211)
 * Hi Danny,
 * Have just tested this on another site, with debugging on and only your plugin
   active.
   It only occurs on the (default) widgets page.
 * _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 my-domain/public\_html/wp/wp-includes/
   functions.php on line 6031_
 * Strangely enough no direct link to your plugin.
 * Guido
 *  Plugin Author [DannyCooper](https://wordpress.org/support/users/dannycooper/)
 * (@dannycooper)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/#post-17320542)
 * You are exactly right, Guido! I’ve just released a fix (3.4.8) that should resolve
   this.
 * Thanks!
 *  Thread Starter [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/#post-17321454)
 * And I hereby confirm it’s fixed 🙂
 * Guido

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Notice about function wp_enqueue_script()’ is closed to new replies.

 * ![](https://ps.w.org/olympus-google-fonts/assets/icon-256x256.jpg?rev=2812012)
 * [Fonts Plugin | Google Fonts, Adobe Fonts & Upload Fonts](https://wordpress.org/plugins/olympus-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/olympus-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/olympus-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/olympus-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/olympus-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/olympus-google-fonts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Guido](https://wordpress.org/support/users/guido07111975/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/notice-about-function-wp_enqueue_script/#post-17321454)
 * Status: resolved