Title: (debug) php Notice: Undefined variable: script_deps
Last modified: August 21, 2016

---

# (debug) php Notice: Undefined variable: script_deps

 *  Resolved [Fee](https://wordpress.org/support/users/wdfee/)
 * (@wdfee)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/debug-php-notice-undefined-variable-script_deps/)
 * Hey Markus,
    just one hint for your next version. This notice is trown in debug
   mode: Notice: Undefined variable: script_deps in (…)/plugins/events-manager/events-
   manager.php on line 261 So I just added `$script_deps = array();` in line 211,
   now it’s ok.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

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

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/debug-php-notice-undefined-variable-script_deps/#post-3924151)
 * thanks, we will going to check this out but seems ok when debug mode is off.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/debug-php-notice-undefined-variable-script_deps/#post-3924313)
 * no harm in adding that. will do!
 *  [wolfdogg_](https://wordpress.org/support/users/wolfdogg_/)
 * (@wolfdogg_)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debug-php-notice-undefined-variable-script_deps/#post-3924453)
 * personally i dont like seeing any errors in debug mode. so ill add that line 
   as well. i have the same issue and it did take time out of my day to track it
   down.

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

The topic ‘(debug) php Notice: Undefined variable: script_deps’ is closed to new
replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 3 replies
 * 4 participants
 * Last reply from: [wolfdogg_](https://wordpress.org/support/users/wolfdogg_/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/debug-php-notice-undefined-variable-script_deps/#post-3924453)
 * Status: resolved