Title: Getting Javascript error on update
Last modified: August 21, 2016

---

# Getting Javascript error on update

 *  [handhugsdesign](https://wordpress.org/support/users/handhugsdesign/)
 * (@handhugsdesign)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/getting-javascript-error-on-update/)
 * I am using the most recent version of event organiser, and am getting a javascript
   error, both on the front end of my site, and the back end when adding or editing
   events, which keeps the date picker from working properly and other things as
   well.
 * here is the error I am getting:
    Uncaught TypeError: undefined is not a function(
   for the event.min.js)
 * And when i click to expand the details of that, I get this:
 * window.eventOrganiserSchedulePicker.set_up_timepickers event.min.js?ver=1.0:2
   
   window.eventOrganiserSchedulePicker.init event.min.js?ver=1.0:2 (anonymous function)
   edit-event-controller.min.js?ver=2.8.2:2 j load-scripts.php?c=0&load%5B%5D=jquery-
   core,jquery-migrate,utils,farbtastic,thickbox,plupload,json2…:2 k.fireWith load-
   scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,farbtastic,thickbox,
   plupload,json2…:2 n.extend.ready load-scripts.php?c=0&load%5B%5D=jquery-core,
   jquery-migrate,utils,farbtastic,thickbox,plupload,json2…:2 K
 * Not sure if it is a compatibility problem or not. .. can anyone offer some help?
 * [https://wordpress.org/plugins/event-organiser/](https://wordpress.org/plugins/event-organiser/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/getting-javascript-error-on-update/#post-5066586)
 * If you put
 *     ```
       define( 'SCRIPT_DEBUG', true );
       ```
   
 * into your `wp-config.php` does the problem persist? If so, what error messages
   do you get?

Viewing 1 replies (of 1 total)

The topic ‘Getting Javascript error on update’ is closed to new replies.

 * ![](https://ps.w.org/event-organiser/assets/icon-256x256.png?rev=978123)
 * [Event Organiser](https://wordpress.org/plugins/event-organiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-organiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-organiser/)
 * [Active Topics](https://wordpress.org/support/plugin/event-organiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-organiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-organiser/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [jquery error](https://wordpress.org/support/topic-tag/jquery-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/getting-javascript-error-on-update/#post-5066586)
 * Status: not resolved