[SOLVED] Google Maps Oops Something is wrong

  • Sticky
    Posted in: WPJobus  

  • Keymaster
    Alex Ursu
    September 30, 2016 at 1:02 pm #18183

    If you have an error regarding GoogleMaps with the following notification : “Oops something went wrong ” this is what you should do.

    1. Go to this page .
    2. Make sure you are signed in.(You can sign in via the “Sign In” button in the top right corner.
    3. Scroll down and click on the “Get a Key” button.
    4. Create a new project. ( you can name it whatever you wish)
    5. You will get an API key that looks something like this ” KIzaSyzAXwtTxEabMT1261Pu1NosAMO821FLsE0 “. Copy it.
    6. Go to functions.php at line 1480 and 1627. You will see that there is enqueued the script for the google-map. It looks like this “https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false”
    7.Change that string in both instances to this “https://maps.googleapis.com/maps/api/js?key=XXX&libraries=geometry&v=3.exp&sensor=false”, where XXX is the API key that you’ve copied before. In the case of the example API I gave you it would look like this

    Now you have an API Key attached to your gmaps script, and the problem should be solved.

    P.S. In the future update I will make the procedure less intrusive, but this is a workaround for the moment.

    Ursu Alex
    ThemesDojo Support

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.