Google Map JavaScript error after migrating

Google API’s now requires API key for new domains,

you should create an API key as per instructions here: https://developers.google.com/maps/documentation/javascript/get-api-key

and edit the line in the plugin that loads the Google Maps API to include your key as the value of a ‘key’ parameter.

Wherever you find one of these:

https://maps.googleapis.com/maps/api/js

or

http://maps.googleapis.com/maps/api/js” in the functions.php file,

and change it to “https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY“.

Notice that you should replace YOUR_API_KEY with the key you created at first.