Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #82651
    Hugo Cavaleiro
    Participant

    Hello, every time we try to search for a non-listed location we get this error: https://prnt.sc/8ysLDxTiVNCM

    It mentions a Google Maps API error, but no detail or whatsoever.

    The page can be seen in dev.realsaboaria.com/contactos

    This is our Plugin Environment:

    Store Locator Plus®:5.12.3

    Site URL:https://dev.realsaboaria.com

    This Info Cached:1645532935

    Network Active:No

    WordPress Version:5.7.4

    PHP Version:7.4.27

    MySQL Version:5.5.5

    PHP Limit:256M

    WordPress General Limit:40M

    WordPress Admin Limit:256M

    PHP Peak RAM:86 MB

    PHP Post Max Size:32M

    Thanks,

    Hugo

    #82653
    Cici
    Keymaster

    Hello,

    The screen shot does not really provide us with anything to go on.  if  the location data  isn’t in the Locations database and your center map at is more than 200 km from your name , then it won’t be found.

    Also make sure you have cleared the cache

    See Search and how it works

    https://docs.storelocatorplus.com/search-panel-settings/

    #82654
    Hugo Cavaleiro
    Participant

    Hello,

    “if  the location data  isn’t in the Locations database and your center map at is more than 200 km from your name , then it won’t be found.” Correct, but shouldn’t the message be “Location not found” instead of the message we get on the screenshot? (Google Maps API error: (blank space))

    This occurs when we search for “Porto”(the portuguese name of the city) instead of “Oporto” (international version).

    Thanks

    #82656
    Cici
    Keymaster

    The message is

    Could not locate this address. Please try a different location.

    Google Maps API error:
    undefined

    Where is your center of MAP you only have the drop down going up to 500km, if you increase the drop down to a higher number and search what do you see?

     

    #82657
    Cici
    Keymaster

    Hello,

     

    Even though this is beyond our scope of support, did you ever add a valid  API key required by Google . When I use browser tools to inspect the error that keeps coming up is that API key is invalid. Did you add restrictors?  You can research what the error messages are by clicking on any developers tool in Firefox Chrome, etc.

     

    If dealing with the API keys is too confusing you might be a candidate for the SLP SaaS option where we handle the keys and updates.

     

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Google Maps API error’ is closed to new replies.