• 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:
    https://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 {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://www.ads-software.com/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on page causing issues’ is closed to new replies.