Event pages failing to load with Google maps

WordPress Event Management, Calendars & Registration Forums Report A Bug Event pages failing to load with Google maps

This topic contains 12 replies, has 3 voices, and was last updated by  Kim Harding 6 years, 5 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #30792

    Following the latest update to 3.7.0 with the support for OpenStreetMap, I have found that event pages with Google maps are not loading properly and timing out. Once I changed to OpenStreetMap resolved but does now mean that I can use Google maps

    Kim Harding
    #30793

    Hi Kim,

    Could you switch back to Google maps, and I’ll take a look? Did you get any server-side errors, or client-side errors?

    Stephen Harris
    #30795

    The problem is this is a live site at coming up to the busiest time of year, and I have already a had a lot of complaints from users unable to buy tickets.

    Kim Harding
    #30796

    People have been commenting that it was causing problems with Chrome on Windows and iOS, and with IE. Firefox was reporting was an unresponsive script, but once stopped the page loaded and they could buy tickets. If that helps

    Kim Harding
    #30797

    Thanks Kim, I understand. I’ll keep investigating. Do you happen to know what script was unresponsive? Was it the Google Maps library?

    Stephen Harris
    #30798

    Also, are you using Google Maps with an API key? (And are you aware of the changes to their pricing).

    Stephen Harris
    #30799

    Yes, have been using Google Maps with an API key, thanks for the heads up on the price changes.

    Turn on Google maps briefly and ran a debugger which yielded the following output, if that is any use

    Error: Script terminated by timeout at:
    .m.setValues@https://maps.googleapis.com/maps/api/js?key=AIzaSyA&language=en&ver=4.9.6:126:1
    .De@https://maps.googleapis.com/maps/api/js?key=AIzaSyA&language=en&ver=4.9.6:72:282
    eventorganiserMapsAdapter.googlemaps.marker@https://edfoc.org.uk/wp-content/cache/wpfc-minified/dgpmdrzu/9mw1l.js:63:16
    eventorganiserMapsAdapter.googlemaps.map/eventorganiserMapsAdapter.googlemaps.map.prototype.addMarker@https://edfoc.org.uk/wp-content/cache/wpfc-minified/dgpmdrzu/9mw1l.js:42:12
    @https://edfoc.org.uk/wp-content/cache/wpfc-minified/dgpmdrzu/9mw1l.js:133:13010
    i@https://edfoc.org.uk/wp-content/cache/wpfc-minified/fsrtdffd/9mw1m.js:1:27444
    fireWith@https://edfoc.org.uk/wp-content/cache/wpfc-minified/fsrtdffd/9mw1m.js:1:28213
    ready@https://edfoc.org.uk/wp-content/cache/wpfc-minified/fsrtdffd/9mw1m.js:1:30004
    K@https://edfoc.org.uk/wp-content/cache/wpfc-minified/fsrtdffd/9mw1m.js:1:30366

    Kim Harding
    #30816

    Hi Kim,

    I’ve not been able to reproduce this, but it could be related to the cache. You could try clearing the cache (via wpfc) or disabling that plugin temporarily.

    Stephen Harris
    #30870

    Hi Kim,

    Do you have Yoast’s SEO plug-in installed? After investigating this with another customer, it appears that in their case it could be a conflict with Yoast SEO. I’m continuing to investigate the issue, but if you do you have Yoast’s SEO plugin activated on your site, then it could be that.

    Stephen Harris
    #30875

    Yes, I do have the Yoast’s SEO plugin activated on my site

    Kim Harding
    #30901

    I get the same timeout error as Kim if running EO 3.7.1. Google maps load if running EO 3.6.5(which I have on another site). I have Yoast on both sites.

    Wouldn’t mind running openstreetmap but it needs some beautification.

    • This reply was modified 6 years, 5 months ago by  Andy Burns.
    Andy Burns
    #30903

    A fix for this has now been found, and they’ll be a release later today.

    If you wish to fix it manually you can see the change here. (Please note you will need to replace the contents of frontend.min.js with the edited copy of frontend.js, or enable SCRIPT_DEBUG (not recommended).

    Stephen Harris
    #30907
    Kim Harding
Viewing 13 posts - 1 through 13 (of 13 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.