April 13, 2017 at 11:38 AM #45760
Each time we add a store now, we get a GeoCoding error message that says it cannot add the location. We have an API installed, this is a new message that has just popped up. How do we fix?April 13, 2017 at 3:42 PM #45764
could you please provide the information required , see read this before posting guidelines and also read looking for tech support. I will be better able to assist you when you provide more info, such as versions, plugin environment, etc.
ALso you may find your answers more readily in documentation’
For example:April 13, 2017 at 3:44 PM #45765
Hello, i already looked through the documentation and do not see our geo coding error message on it, it says denied when we try to add them in. Our site is up to date on all themes, plugins and the WP core.April 13, 2017 at 3:47 PM #45767
Saying it is up to date does not provide me the info I need to help you. Please provide your plugin environment.
That would also include your site urlApril 13, 2017 at 3:49 PM #45768
https://www.pecard.com/ is the website. The plugin is Store Locator Plus, this is the version: Version 4.7.8. What else do you need?April 13, 2017 at 3:59 PM #45769
Also did you add a Google APi key in the right spot?
I honestly cannot troubleshoot without more info. something on your site , or your hosting , is causing you to have unique issues, we have not had any reports of failure to add one location or geocode unless the address is bad or you have reached your query limit, Query limits often happen when you are on a shared server.
More TroubleshootingApril 13, 2017 at 4:01 PM #45770
Inspected your site, using Chrome Developer tools in browser, under console:
April 13, 2017 at 4:02 PM #45771
Follow the link, you have an invalid key”
The API key included in the script element that loads the API does not look correct. Please make sure you are using a correct API key. You can generate a new API key on the Google API Console.
See Obtaining an API key.April 13, 2017 at 4:03 PM #45772
P.S. Is this a new site or one that you moved over with a new domain name? If you changed even from http to https, that would require a new API key.April 13, 2017 at 6:33 PM #45775
Ok i will check out the API key. Its a site that has been up for awhile, i will see if they forgot to change the http to https in Google.April 14, 2017 at 12:25 PM #45779
Ok, That may be the issue. If the site changes domain in any way , new rules as of June 2016 (see our Post last year). Google states MUST have API key. The good news, if you are now https, Google Chrome allows the location sensor to work.
Note: Your API key must be for the exact domain. The error message indicates that is the issue. Upgrading to ssl would change the domain. Lance updated this site to SSL certification in 2015 , it was a big undertaking.
He wrote this article in 2015 about the process.
Hope that resolves your issue, let me know.
ThanksApril 14, 2017 at 5:01 PM #45793
I fixed the Geo Code error message by getting a new API, now I get a message that says it “cannot add location”, even though Google comes back as able to find the location.April 17, 2017 at 6:00 PM #45820
I checked your site today and there is still a Google Invalid Key warning coming through. It isnt preventing the site from searching but somewhere along the line it comes across something that might have an old APi key or info that was with http version of your site. In our troubleshooting guide
Different Host or Domain Name
Some sites use a variety of host and domain names for different sections of their site. Web servers and browsers will block most AJAX requests that do not original from the same host and domain as the back end server process. The easiest way to manage this conflict is to use web configuration, such as Apache’s mod_rewrite rules via the .htaccess file, to redirect AJAX requests to the proper URL.
Please refer to how to debug your site under troubleshoot.
It is taking quite a while to load your Map, possibly because of your theme, or another plugin. (also you have mixed content, your icons are sill under http but your site is https. its working but you want to be cautious when building and transferring plugins and data to a new site.)
You must be logged in to reply to this topic.