Join our new community forum for support & discussion

Join Now

Home Support Extensions Geolocation geolocation doesn’t work for non logged users

geolocation doesn’t work for non logged users

  • Author
  • VolumeR


    When the user is not logged in, Geolocation doesn’t work.
    Works perfectly when logged in!

    Geolocation Extension is installed and reinstalled correctly.
    Before the last WP update, it used to work perfectly with non logged users.

    How to fix it?


    in google chrome browser console the error is:
    Google Maps JavaScript API warning: NoApiKeys

    there is no such error when user is logged in.
    the API key is working and filled in Hivepress/Preferences/Integrations


    and there is no more “Allow users to search listings by location” checkbox in Hivepress/Setting/Listing menu

    ihor developer

    There was no “Allow users to search…” checkbox, maybe it was some customization? If you enable Geolocation and set the API key then the location search will be enabled automatically.

    Please make sure that it’s not a caching issue, if you set the API key then the Google Maps URL should be the same for all users. You can also try disabling third-party plugins incase if it’s a conflict with the Google Maps script (if some plugin also loads maps).


    I’m sure that is not a caching issue, because I have tested it on new devices never used to visit my website.
    There are no third-party plugins using Google Maps.
    Do you have any other idea why this issue could happen?


    Sorry, I found the reason: is the PageSpeed Ninja extension who created the truble.
    Everything works now, after deactivating it.

    Thank you!

    ihor developer

    Thanks for posting the solution!

Viewing 7 posts - 1 through 7 (of 7 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.