Title: Error on page causing issues
Last modified: August 22, 2016

---

# Error on page causing issues

 *  [deplume](https://wordpress.org/support/users/deplume/)
 * (@deplume)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/)
 * Hi, I have this error for Events Manager but I’m not sure what to change in the
   code (or where). I just have the problem defined. I have the newest version of
   events manager as well.
 * Here’s the page that’s messing up:
    [http://www.rainbowhealthontario.ca/events/](http://www.rainbowhealthontario.ca/events/)
 * Here’s the error:
 *  EM.geo_placeholder = ‘Near…’;
    EM.geo_alert_guess = ‘We are going to use %s 
   for searching. \n\n If this is incorrect, click cancel and try a more specific
   address.’; function em_geo_search_init(){ jQuery(‘input.em-search-geo’).each(
   function(i){ var input = /** [@type](https://wordpress.org/support/users/type/){
   HTMLInputElement} */ jQuery(this); var wrapper = input.closest(‘div.em-search-
   geo’); var autocomplete = new google.maps.places.Autocomplete(input[0]); var 
   geo_coords = wrapper.find(“input.em-search-geo-coords”);
 * This line is problematic:
    var autocomplete = new google.maps.places.Autocomplete(
   input[0]); and the error is: Uncaught TypeError: Cannot read property ‘Autocomplete’
   of undefined
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/#post-5648974)
 * Hi,
 * I think the problem is that your event submission on the same page as your events
   list. Can you test the search form after moving the add event form to a different
   page?
 *  Thread Starter [deplume](https://wordpress.org/support/users/deplume/)
 * (@deplume)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/#post-5649082)
 * It was working before. I tried to remove the form and that did nothing.
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/#post-5649102)
 * just to narrow down the problem and help us debug the issue is it possible to
   try the following temporarily:
 * – deactivating all other plugins to see if this resolves the problem. If this
   works, re-activate the plugins one by one until you find the problematic plugin(
   s).
    – switching to the default theme to rule out any theme-specific problems
 *  anonymized-13749260
 * (@anonymized-13749260)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/#post-5649109)
 * Hi, I have the same error that I reported here: [https://wordpress.org/support/topic/error-in-javascript?replies=1](https://wordpress.org/support/topic/error-in-javascript?replies=1)
 * You can see the problem at [http://www.sylvieadams.com/events](http://www.sylvieadams.com/events)
   
   For me the conflict seems to be with Indeed Smart Popup Plugin [http://wpindeed.com/?page_id=220](http://wpindeed.com/?page_id=220)

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

The topic ‘Error on page causing issues’ 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

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

 * 4 replies
 * 4 participants
 * Last reply from: anonymized-13749260
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/error-on-page-causing-issues/#post-5649109)
 * Status: not resolved