-
AuthorPosts
-
October 3, 2017 at 12:14 pm #859595
I updated wordpress to 4.8.2 , since then google map not loading .
October 4, 2017 at 8:16 am #859972Hey idvisionme,
Your map is displaying fine on my end, did you try to clear your browser cache and reload the page?
Best regards,
RikardOctober 18, 2017 at 1:00 pm #865690Hello Rikard ,
It was working fine for few days . Now still the same issue .
Kindly check-
October 19, 2017 at 9:57 am #866123Hi,
Thanks for the feedback. It’s not working on my end either. You are getting the following error message:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
Are you running any plugins which uses Google Maps as well? If so then try to disable them.
Best regards,
RikardOctober 19, 2017 at 10:02 am #866125if so Rikard is right – ( and i use sometimes mappress pro plugin) you can avoid loading enfolds google routine by:
add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1); function disable_google_map_api($load_google_map_api) { $load_google_map_api = false; return $load_google_map_api; }
The third party plugin got his own loading routine so after that you can use nevertheless the enfold google alb element.
But first : aktivate the api on Enfold dialog.
On my case the third party plugin got his own input field for api code.October 20, 2017 at 6:30 am #866589October 22, 2017 at 10:02 am #867175Hi Rikard & Guenni007 ,
I’m not using 3rd party google map plugin . I have only Enfold default google map .
It was working fine , after upgrading enfold issue started .Even now I deleted the multiple entries of Google map API , having only 1 API key now . Still issue not resolved . Kindly helpthank you
October 22, 2017 at 12:56 pm #867187Hi, I’d like to stay updated on this post!
I have the same problems with the Google Maps element, on 2 pages:
– https://www.passe-partout.nl/locaties/
– https://www.passe-partout.nl/projecten/The steps I took to try solve the issue:
– Update everything : WP, theme, plugins
– Disable all plugins
– Search on internet
– Try in different browsers
– Update the Google API settings (put the 2 pages in the Google API settings)
– Watched the JS consone in Chrome, giving the following error: Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: https://www.passe-partout.nl/projecten/ < this I already did!Still no improvements.
The weird thing is dat it does show the map for a second and then immediately shows the error.
Please, do you see the same on these pages, and do you know how to resolve this?Best regards, Marcel.
October 22, 2017 at 9:25 pm #867327Hi Marcel,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Please check functions.php for the function with the key for the maps and remove it. You have 2 keys in two different places.
Best regards,
VictoriaOctober 22, 2017 at 10:23 pm #867356Hi Victoria,
Thank you so much! Apparently the wrong key was in the functions.php. I erased that and immediately it works :) Next time I’ll check that first :)
Best regards, Marcel
October 23, 2017 at 6:46 am #867459Hi Marcel,
Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardNovember 2, 2017 at 12:12 pm #871615@Victoria: SAVED MY DAY! Couldn´t find a solution for “Google Maps Error” on my site for 3 days. There was an old API Key in my child theme functions.php. Wouldn´t have found it in a hundred years! THANKS SO MUCH!
November 3, 2017 at 8:56 am #872023November 13, 2017 at 9:19 pm #876288Thanks for posting this. I was having this problem, also. For others with this issue, THIS is the fix. There was a time, many Enfold versions ago, when there were Google API issues with the map on the contact page. Someone came up with a workaround at that time that involved adding some code (and your Google API key for the map) to the child theme functions.php file. I had forgotten about it, and the old API key on that functions.php file was causing the problem. I deleted the workaround code from the child theme functions.php and all is well now. With newer versions of Enfold, the API key created via the Google Developers Console should be entered in the Enfold Theme Options area (under Google Services) of the WP dashboard.
- This reply was modified 7 years, 1 month ago by promosapien.
November 14, 2017 at 2:59 pm #876602 -
AuthorPosts
- You must be logged in to reply to this topic.