Google Maps plugin not working on WordPress site

I’ve read heaps of articles online on how to get this to work, but still nothing.

I have a theme for my WordPress site and I want to include a map. Downloaded a plugin, requested a Google Maps API key, entered the API key in the plugin (in wordpress), copied and pasted the short code into a text block element within visual composer – the following appears on the page:

“Oops! Something went wrong. This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”

This appears in the console:

Uncaught TypeError: Cannot read property 'prototype' of undefined
at common.js:41
at Object._.bb (js:35)
at a (common.js:41)
at Wm (common.js:41)
at common.js:44
at Lm.Wm (common.js:187)
at Object.c [as _1dvvf] (common.js:39)
at maps.googleapis.com/maps/api/js/Auth.......

and

Uncaught TypeError: Cannot read property 'toUrlValue' of undefined
at Array.<anonymous> (common.js:166)
at js:109
at js:50
at js:109
at Tc (js:52)
at Sc.Za (js:109)
at maps.googleapis.com/maps-api-v3/api/js/28/10/stats.js:1

https://i.stack.imgur.com/FIw8v.png

How can I get the map to show up??

Read more here: Google Maps plugin not working on WordPress site

Leave a Reply

Your email address will not be published. Required fields are marked *