Store Locator Plus® for WordPress › Forums › Store Locator Plus › Search function no longer working
- This topic has 2 replies, 2 voices, and was last updated 7 years ago by Cici.
-
AuthorPosts
-
January 2, 2019 at 4:47 PM #58242matthew6Participant
Hello, the search functionality on https://turano.com/store-location has stopped working. You can use the zip code 50014 to test.
I’ve confirmed I’m using valid Google API keys (Browser and Geolocation) with authorization to the right services. I can also see on the Google dashboard that queries are being made to both the Geocoding API and the Maps Javascript API.
The error I receive in the browser is “Google JavaScript API geocoder failed with status ERROR results undefined”.
Digging deeper, it appears to be making a call to “https://turano.com/wp-json/store-locator-plus/v2/geocode/cbb8a81c0ae33d2df7975303d33fe28c/50014”, which results in a 500 error.
Please advise. Thanks!
- This topic was modified 7 years ago by matthew6.
January 2, 2019 at 4:49 PM #58243matthew6ParticipantI am using Store Locator Plus® 5.0
- This reply was modified 7 years ago by matthew6.
January 3, 2019 at 2:54 PM #58255CiciKeymasterNo idea, ,since Google API is not controlled by SLP but is an agreement between you and Google . My guess is your API key or your project list at Google needs to be updated . what I can see right off the bat is the error for Mixed content indicating you migrated site See How this can effect your site documentation
Errors shown in Console using browser tools:
Mixed Content: The page at ‘https://turano.com/store-location/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext’. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at ‘https://turano.com/store-location/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext’. This request has been blocked; the content must be served over HTTPS.
-
AuthorPosts
- You must be logged in to reply to this topic.
