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

---

# ep_enqueue_script was called incorrectly

 *  [pavegraphics](https://wordpress.org/support/users/pavegraphics/)
 * (@pavegraphics)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ep_enqueue_script-was-called-incorrectly/)
 * Hi I have just upgraded wordpress and getting this debug 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 ...wp-includes/functions.php on line 3370` It only
   comes when I activate Responsive and Swipe Slider so I presume it comes from 
   lines 25 and 26 (the error is shown twice). Any ideas?
 * [https://wordpress.org/plugins/responsive-and-swipe-slider/](https://wordpress.org/plugins/responsive-and-swipe-slider/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-and-swipe-slider_666e62.
   svg)
 * [RESPONSIVE AND SWIPE SLIDER!](https://wordpress.org/plugins/responsive-and-swipe-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-and-swipe-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-and-swipe-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-and-swipe-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-and-swipe-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-and-swipe-slider/reviews/)

## Tags

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

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