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

---

# wp_enqueue_script was called incorrectly

 *  [blazeking](https://wordpress.org/support/users/blazeking/)
 * (@blazeking)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-was-called-incorrectly-8/)
 * This plugin is causing me some trouble. It was working without issue, but now
   when the plugin is enabled, I receive the error:
 * > 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 login_enqueue_scripts hooks. Please see Debugging in WordPress for more 
   > information. (This message was added in version 3.3.) in /var/www/html/wp-includes/
   > functions.php on line 3547
 * When attempting to log in via Credly, it appears to stop after submitting username/
   password.
 * I’m running 4.1, but it happens with previous versions as well. Any help is appreciated,
   thanks!
 * [https://wordpress.org/plugins/credly-login/](https://wordpress.org/plugins/credly-login/)

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

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

 * 0 replies
 * 1 participant
 * Last reply from: [blazeking](https://wordpress.org/support/users/blazeking/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-was-called-incorrectly-8/)
 * Status: not resolved