• Hi, we’re getting this error when we try to geocode an address:

    The Google Geocoding API returned no results for the supplied address. Please change the address and try again.

    The map defaults to the Netherlands even though we put in a valid US address. When we click preview on the map, we get a pop up that says:

    Geocode was not successful for the following reason: ZERO_RESULTS

    I’ve tried just about everything, including researching this forum, and can’t seem to find why this isn’t working. IT just stopped working a few days ago.

    I’d really appreciate any input you may have into this.

    Thanks!

    Gus

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gusthefish

    (@gusthefish)

    Also, anytime we add a new store, it doesn’t let us publish and stays in Review mode. Very frustrating. We can do a quick edit to change to “publish” but if we edit again, it goes back to unpublished “review”.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You have tried to create a store with a different address? It simply goes to review when it fails to properly geocode the provided address. This can happen when the Geocode API doesn’t recognize the address, or there is sometimes else wrong.

    Can you check the browser console for any errors that show up that are related to Google Maps? The error itself usually contains a link explaining the problem, and how to solve it.

    Did you set the API keys on the settings page?

    Thread Starter gusthefish

    (@gusthefish)

    Hi, Thanks for the quick response.

    Not sure what you mean by asking if I tried to create a store with a different address.

    I see it goes to Review when it can’t find the address, but these are pretty significant addresses it can’t find, like Los Angeles, CA, San Francisco, CA, etc. I keep getting that same error.

    Checked error console and nothing.

    I do have API Setting added in. This was working for a long time until very recently. I’ve also updated all plugins and WP, changed theme and disabled plugins and still getting these errors.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Los Angeles, CA isn’t a complete address. It needs a street name as well. It should say something about the required fields the first time you try to create the location.

    What’s the complete address you filled in?

    Thread Starter gusthefish

    (@gusthefish)

    hmmm. Did something change recently? We have 450 stores all geolocated on City and State. now the last few won’t.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The address, city and country fields have always been required. If you can submit a location with one of them empty, then either there’s a JS error breaking the check that’s performed, or the code was modified.

    If there’s indeed a JS error, then the data is submitted ( since JS can’t prevent that ) and the post status is set to draft.

    You can check if any JS errors show up on the admin area with the browser console.

    Another way to quickly check this is by simply disabling all other plugins, and switch back to a default WP theme, and then try to submit a location again.

    Just to be sure I understand correctly, you just fill in Los Angeles, CA without any other details?

    Thread Starter gusthefish

    (@gusthefish)

    Yeah, that’s what we’ve been able to do. Just city and state. no errors and if we disable plugins and change theme it also worked and now doesn’t…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Geo coding errors’ is closed to new replies.