Thread Starter
bca18
(@bca18)
With the help of Google, we’ve discovered that the API is being loaded multiple times AND the correct API is not being used. The site was developed on a subdomain and migrated to the official site. A different API was used on the test site, and that is the one being used. I’ve obtained a new API for the official site and stored in in WordPress, but Google Map Extended is not recognizing it. Why? And how do I fix it?
Thread Starter
bca18
(@bca18)
The wrong API code is also being used for regular Google Maps. How can it be forced to use the right one?
@bca18 the reason why this is happening because two Google script API has been enqueued. If you’re using EA Google map. I think there’s a way to unload the map widget? Anyway we are going to rewrite the plugin and maybe add in a option to dequeue the API if you have EA or any other plugin that uses the Google map API.
We rewrote the plugin and also added a dequeue method. If you know the handle script of the other plugin, you can dequeue the script that also enqueue Google Map Script to improve compatiblity. (e.g. essential_addons_elementor-google-map-api, ep-google-maps) separate with a comma.