Title: wp_enqueue_scripts
Last modified: March 20, 2018

---

# wp_enqueue_scripts

 *  [fpierron](https://wordpress.org/support/users/fpierron/)
 * (@fpierron)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-2/)
 * It seems (after testing all the plugins one by one), that WP Photo Sphere has
   a new problem with the way it enqueues scripts :
 * Notice: wp_register_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.0.) in path/wp-includes/functions.php on
   line 4147
 * If I deactivate this plugin, the problem is removed.

The topic ‘wp_enqueue_scripts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-sphere_3b77a1.svg)
 * [WP Photo Sphere](https://wordpress.org/plugins/wp-photo-sphere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-sphere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-sphere/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-sphere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-sphere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-sphere/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [fpierron](https://wordpress.org/support/users/fpierron/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/wp_enqueue_scripts-2/)
 * Status: not resolved