Title: Notice: Function wp_enqueue_script()
Last modified: March 12, 2023

---

# Notice: Function wp_enqueue_script()

 *  Resolved [MarialKa](https://wordpress.org/support/users/marialka/)
 * (@marialka)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/)
 * Hi, thank you to share this free version
 * Recently getting the following notice in widgets screen (appearance)
 * `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 /home/wordpress/wp-includes/functions.
   php on line 5835
 * Tried to fix it by myself but without success! any idea ?

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

 *  [brandonco](https://wordpress.org/support/users/brandonco/)
 * (@brandonco)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16558715)
 * Hi [@marialka](https://wordpress.org/support/users/marialka/),
 * Thanks for reaching with your weForms questions. We tried replicating your issue
   but we’re unable to reach the same error message in our dev environment.
 * Can you verify you’re WordPress core and weForms plugin are both updated to the
   latest versions? WordPress should be version 6.1 and weForms is 1.6.17.
 * Also when did you first notice this issues occurrence? Is it only effecting your
   weForms widgets or are other widgets displaying errors as well?
 * We look forward to assisting you further with this [@marialka](https://wordpress.org/support/users/marialka/).
 *  Thread Starter [MarialKa](https://wordpress.org/support/users/marialka/)
 * (@marialka)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16594626)
 * Hello [@brandonco](https://wordpress.org/support/users/brandonco/) thank you 
   for your reply
 * Yes we are using the latest version WP 6.1.1 and WeForms 1.6.17 (WooCormerce’
   Storefront theme)
 * Please note that this notice is displayed at Widgets Page (Appearance section)
   even if not using your WeForms widget
    -  This reply was modified 3 years, 1 month ago by [MarialKa](https://wordpress.org/support/users/marialka/).
 *  Thread Starter [MarialKa](https://wordpress.org/support/users/marialka/)
 * (@marialka)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16594632)
 * Tried with Twenty Twenty theme then it’s not displayed!
 * _Please note that it’s not displayed with WooCommerce and Storefront until WeForms
   plugin is activated_.
 *  [brandonco](https://wordpress.org/support/users/brandonco/)
 * (@brandonco)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16599675)
 * Hi [@marialka](https://wordpress.org/support/users/marialka/),
 * If I’m understanding correctly the combination of WooCommerce + Storefront and
   weForms is causing an error to display in the widgets dashboard of your Appearance
   tab?
 * But if you activate the TwentyTwentyOne theme the error message disappears even
   with weForms activated?
 * If that’s the case if sounds like there could be some error with weForms and 
   Storefront that we’ll need to test this out and address it.
 * Thank you!
 *  [brandonco](https://wordpress.org/support/users/brandonco/)
 * (@brandonco)
 * [3 years ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16710489)
 * Hi [@marialka](https://wordpress.org/support/users/marialka/),
 * We haven’t heard from you in a while so we’re assuming you’ve managed to get 
   this issue resolved.
 * Please don’t hesitate to reach back out if there’s anything else that we can 
   answer for you.

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

The topic ‘Notice: Function wp_enqueue_script()’ is closed to new replies.

 * ![](https://ps.w.org/weforms/assets/icon-256x256.png?rev=1978687)
 * [weForms - Easy Drag & Drop Contact Form Builder For WordPress](https://wordpress.org/plugins/weforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weforms/)
 * [Active Topics](https://wordpress.org/support/plugin/weforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weforms/reviews/)

## Tags

 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 5 replies
 * 2 participants
 * Last reply from: [brandonco](https://wordpress.org/support/users/brandonco/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/notice-function-wp_enqueue_script/#post-16710489)
 * Status: resolved