Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Are you using a caching / optimization plugin to minify the HTML code? If so, then exclude the store locator page.

    Thread Starter mhogas

    (@mhogas)

    No, i’m not using. As seen in this screenshot https://d.pr/i/tp5Znc because the browser key is missing, the Maps library isn’t loaded causing the rest of the errors.

    I know the plugin isn’t even supposed to work without it being configured and having a browser key, but i guess it’s much cleaner to have checks to avoid errors.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I think there’s more going on then just the missing browser key. When I test this with a default WP theme without a key, then only this shows up in the browser console.

    Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    But your right, I should add a check for it in the code anyway to prevent that error from showing up in the first place.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS error Google not defined’ is closed to new replies.