Oops! Something went wrong
-
Hi,
Just installed the app. I think I have my ducks in a row but the map starts to load, then the Oops message comes up. As you recommended in other posts on the forum: cache is cleared, this happens on two different browsers on two computers, deactivated and reactivated, deactivated and uninstalled and downloaded and reinstalled again with same results. I checked the footer.php and that is okay also.Thanks,
Jim
-
Hi Jim
Thank you for getting in touch with us.
Please send me a link to your map so I can look into this for you?
Oh Man, I forgot that link. Sorry.
https://vfwpost12055.orgHi Jim
Not a problem 🙂
The Google Maps API is returning the error ‘ApiNotActivatedMapError’ on the page, which results in your map receiving the ‘Oops!’ error.
Please login to your Google Developers Console, go to ‘Libraries’ and click on the ‘Google Maps JavaScript API’ service. Then click ‘Enable’.
The map should now display as expected.
I hope this helps?
We’re having the same issue. Just purchased the pro version last week. If we set the jQuery versioning option to ‘Yes’ for “Over-ride current jQuery with version 1.11.3” then we get the same issue as above. If we leave it turned off then the map page is unresponsive.
We’ve checked all API settings and they are setup properly(based on plugin documentation).
Link to map – http://habershamhome.ddns.net/dealer-locator/
Also JarryD just saw your response and we have made sure that ‘Google Maps JavaScript API’ service is enabled and still having error. In the source code the script tag that loads the maps api is missing the API key.
We installed this plugin https://ww.wp.xz.cn/plugins/api-key-for-google-maps/ and it appears to fix the “Oops” message. However once we get to the map the search functionality of the map is not working with zip codes. It will work with “Use my current location”, but it shows the user as being in the wrong location. IE we’re in GA working on this and every time we use the “Use current location” it is showing us as being in OK.
My IT guy is telling me: “It appears that isset($wpgmza_settings[‘wpgmza_settings_remove_api’]) in wp-google-maps-pro.php on line 3469 is causing wp_enqueue_script(‘wpgmza_api_call’, … etc) not to run, which is what appears to add the maps api to the web page. So for whatever reason wpgmza_settings_remove_api is false when it needs to be true. Actually, nope, short circuited the conditional and ran wp_enqueue_script(‘wpgmza_api_call’, … etc) directly, but it didn’t work.”
~ Sorry for all the replies, trying to get this resolved and keep you guys in the loop of what we’ve tried to troubleshoot on our end.
So we’ve finally got something that is working. A little bit of a ghetto setup, since this will be undone on the next plugin update. So we’re hoping that you guys address this ASAP. Currently forced to use https://ww.wp.xz.cn/plugins/api-key-for-google-maps/ plugin to get past the API issue. To resolve the Store Locator Search functionality issue we encountered we had to correct some of the code in the plugin itself.
In wp-google-maps-pro/js/core.js line 269 assigns the value of wpgm_lng = checker[1];
However, if a user just puts in a zip code, checker[1] is undefined. This causes the code in line 276 to malfunction calling .match() on an undefined object which throws an error and haults code execution causing the map not to update with the user’s closest stores. This can be fixed simply by changing lines 266-269 tovar wpgm_lat = checker[0] || ""; var wpgm_lng = checker[1] || "";-
This reply was modified 9 years, 3 months ago by
habersham.
Hi @habersham
Unfortunately these forums only support the Basic version of our plugin. Please get in touch with us on https://www.wpgmaps.com/contact-us/ so that I can assist you further?
Ok, I emailed Nick directly last night. I’ll get in touch via that contact page now. For the record, these issues are occurring with the Pro add-on activated and deactivated…
Not a problem, I’ve received your mail and will get back to you there ASAP 🙂
Did you get my response on the email? Code Cabin won’t let me register to login to reply there.
Hi there
We’ve received your ticket and will continue communication via the ticket 🙂 You can reply to our tickets above the line, via the email that gets sent to you.
Hey Jarry,
What’s the status of our ticket. I haven’t received any further communication for this issue, the last post on the forum here is the last time I heard from you guys. As I mentioned before I’m unable to login to code cabin to see the actual ticket. Any help?
– Brandon
Hi @habersham
Please send me your ticket ID so that I can address this for you ASAP?
You won’t need to login to our support desk to reply to the ticket, everything will get processed via the emails that you send us.
Ticket ID – #16815
-
This reply was modified 9 years, 3 months ago by
The topic ‘Oops! Something went wrong’ is closed to new replies.