Hi Phil,
EM User here too ๐
The coordinates are saved in both wp_em_locations table as well as in wp_postmeta as meta data for the location post. It depends on where you call the data which input is being called. ๐
If you are looking for a simple solution that just works, you might want to checkout my Google Maps replacement: EM – OpenStreetMaps.
https://wordpress.org/plugins/stonehenge-em-osm/
I created it, because of all the changes Google made to their API. ๐
Thanks for the information. I tried the OpenStreetMaps plugin and I confirm that it works, and even after disabling it (and manually re-enabling the Google mapping) the new location is correctly displayed in Google maps (which I prefer).
So that means there is definitely something wrong with the initial “geocoding” step in Events Manager or in the Google API it uses, and it’s a relatively recent problem.
In case it helps, these are the APIs that I currently have enabled. None of them are showing errors:
Maps JavaScript API
Geocoding API
Google Drive API
Maps Embed API
CalDAV API
Directions API
Distance Matrix API
Geolocation API
Google Calendar API
Maps Elevation API
Maps SDK for Android
Maps SDK for iOS
Maps Static API
Places API
Safe Browsing API
Street View Publish API
Street View Static API
Time Zone API
Also note that I do have billing configured and activated.
By the way, I found a similar support topic that may (or may not) be related – the symptoms seem different though. https://wordpress.org/support/topic/map-unavailable-for-only-some-locations/
Yes, I confirm I have already checked and followed those tutorials.
Hello,
When I re-visited the page: https://www.bromleysymphony.org/location/harris-academy-beckenham/ It seems like the map is already showing? Could We perhaps know if you have managed to fix it already?
As I mentioned above, I got it working by using the OpenStreetMaps plugin temporarily.
I can make a new example of a non-working page if you like.
Here: https://www.bromleysymphony.org/location/test-location/
Do all of your locations are not working even on the admin dashboard? It seems working fine on our test sites and cannot replicate this issue,
Existing locations (that I created before this problem started happening) are working fine, in both the front end and back end.
The problem happens when I create a new location in the admin dashboard. In that case there is no map. I see “map unavailable”.
My server is running Ubuntu 18.04 and PHP 7.3 (in FPM mode) if that helps.
For a location with โmap unavailableโ can you try to temporarily change the location country to refresh the map?
It doesn’t help, unfortunately – I still see “Map Unavailable”.
Update: I see this error in the “Inspect” console when I type something into the address field:
Uncaught TypeError: $ is not a function
at HTMLInputElement.<anonymous> (events-manager.js?ver=5.96:1032)
at HTMLInputElement.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-sanitize,wp-a11y,jquery-ui-autocomplete,moxiejs,plupload&ver=5.2.4:3)
at HTMLInputElement.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-position,jquery-ui&load[]=-menu,wp-sanitize,wp-a11y,jquery-ui-autocomplete,moxiejs,plupload&ver=5.2.4:3)
I have started a post on the same issue, plus responded in another user discusssion.
My system somehow has restored new map functioning in the Submit Event form, but not in the backend dashboard Add Location.
I just ran the Console tonight taking your lead and my error responses are identical, except for the very last part of the 2nd and 3rd line: Where yours show:
=-menu,wp-sanitize,wp-a11y,jquery-ui-autocomplete,moxiejs,plupload&ver=5.2.4:3)
Mine show:
=-menu,wp-a11y,jquery-ui-autocomplete,moxiejs,plupload&ver=5.0.7:3)
*** I take it that means my version of WordPress is behind the times >>> 5.0.7
Monitoring Console while putting an address in to the front end Submit Event does not generate an error. It responds and locates the valid location of that address.
I am encountering the same problem. Locations I entered last week work perfectly, but new events I added today and not working. The map is showing as “Unavailable” I too, have followed the trouble shooting I could find in other threads, as well as checked the API, and changed the country. Was anyone able to find a solution that doesn’t include another plugin?
Thanks!
@phil-mckerracher The error you see is from jquery-ui. Checking the link: https://www.bromleysymphony.org/location/harris-academy-beckenham/ and it seems like the map are already showing.
@charliear The console errors that you see seems like from other plugins. Specially the moxiejs. I would suggest try deactivating other plugins and try changing the theme to any twenty series. Have you make sure also that you have all the APIs activated and have a valid Billing Account attached on your Gmaps Account?. Can you perhaps send us a sample link of an event with maps that is not showing?
@pbasset Can you perhaps send us a sample link of an event with maps that is not showing? Please make sure that you have also added a valid Billing Information on your Google Maps account.