Google maps js error with new domain
-
I have recently changed the domain name for my WordPress site. After doing so, the maps on the event pages do not load. Instead, I get an error messaging saying:
“This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”
In the developer log I get:
js?sensor=false&ver=4.9.3:38 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
_.Kb @ js?sensor=false&ver=4.9.3:38maps.google.com/maps-api-v3/api/js/32/2/util.js:237 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
fC.j @ maps.google.com/maps-api-v3/api/js/32/2/util.js:237maps.google.com/maps-api-v3/api/js/32/2/util.js:237 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
fC.j @ maps.google.com/maps-api-v3/api/js/32/2/util.js:237This doesn’t seem to have anything to do with the domain. I did, however, notice this in the code when the page loads:
<link rel=’dns-prefetch’ href=’//maps.google.com’ />
<link rel=’dns-prefetch’ href=’//fonts.googleapis.com’ />Does the dns-prefetch need to be updated somewhere? Any other thoughts?
Thanks,
BrettThe page I need help with: [log in to see the link]
- The topic ‘Google maps js error with new domain’ is closed to new replies.