Title: wp_enqueue_script was called incorrectly
Last modified: August 20, 2016

---

# wp_enqueue_script was called incorrectly

 *  Resolved [trishahdee](https://wordpress.org/support/users/trishahdee/)
 * (@trishahdee)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-was-called-incorrectly-2/)
 * I received the following error when I activated this plugin:
 * > Notice: wp_enqueue_script was called incorrectly. Scripts and styles should
   > not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   > or init hooks. Please see Debugging in WordPress for more information. (This
   > message was added in version 3.3.) in /home/name/public_html/sitename.com/site/
   > wp-includes/functions.php on line 2959
 * I would really like to use your plugin but I can not with this error. Can you
   fix this please?
 * [http://wordpress.org/extend/plugins/admangler/](http://wordpress.org/extend/plugins/admangler/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [webternals](https://wordpress.org/support/users/webternals/)
 * (@webternals)
 * [13 years ago](https://wordpress.org/support/topic/wp_enqueue_script-was-called-incorrectly-2/#post-3464983)
 * Resolved

Viewing 1 replies (of 1 total)

The topic ‘wp_enqueue_script was called incorrectly’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/admangler.svg)
 * [AdMangler](https://wordpress.org/plugins/admangler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admangler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admangler/)
 * [Active Topics](https://wordpress.org/support/plugin/admangler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admangler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admangler/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [webternals](https://wordpress.org/support/users/webternals/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/wp_enqueue_script-was-called-incorrectly-2/#post-3464983)
 * Status: resolved