Title: &#8216;not a function&#8217; bug
Last modified: November 13, 2019

---

# ‘not a function’ bug

 *  Resolved [James Maiden](https://wordpress.org/support/users/reallygreenjames/)
 * (@reallygreenjames)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/not-a-function-bug/)
 * Hi there,
 * With Version 5.9.6, I noticed an error in events-manager/includes/js/events-manager.
   js
 * which was, on one of my websites (but not another), throwing an error that prevented
   locations from being added – map would not load.
 * I traced this to line 1032:
    `if( $(this).prop('readonly') === true ) return;`
 * Changing this to:
    `if( jQuery(this).prop('readonly') === true ) return;`
 * solves the problem.

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

 *  [timrv](https://wordpress.org/support/users/timrv/)
 * (@timrv)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/not-a-function-bug/#post-12134373)
 * Hello,
 * This error have been reported to our Devs on Pro site. They should be fixed in
   upcoming release
 *  Thread Starter [James Maiden](https://wordpress.org/support/users/reallygreenjames/)
 * (@reallygreenjames)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/not-a-function-bug/#post-12138116)
 * OK, that’s great – thanks.

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

The topic ‘‘not a function’ bug’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [James Maiden](https://wordpress.org/support/users/reallygreenjames/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/not-a-function-bug/#post-12138116)
 * Status: resolved