Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
Ok, i had to reformat your text for that one.
can you go to the SLP general Tab under Admin and enable Debug. and run the debug log . You will see the link to docs on the side: “Hover over a setting to learn what it does.
Enable WP Debug
Turns on WP_DEBUG and WP_DEBUG_LOG. Use with caution: it can display warnings and errors on your web pages. View debug.log
View the documentation for Enable WP Debug.“
CiciKeymasterI cannot see the screenshot you attached due to its size , but thats ok. The developer and I are mystified because we cannot reproduce this issue in any of our test sites or domains. a couple of people have reported similar. I sent Lance your plugin environment. So unfortunately we need you to provide us a little more help to resolve the issue or to find the conflict with your configuration or with another plugin.
Could you go to the SLP General/Admin and enable WP debug. Please send us the debug log. , send it to the contact us support
CiciKeymasterDo you see the drop down menu under Maps where to select Map domain under SLP? Some people have reported some missing on sites they already had running but updated. Trying to track down any culprits that may be json related.
See docs and the screenshot in the docs
This is not the same as geocoding APi key, it is what Google geocoding needs to find the region , i,.e map domain.
CiciKeymasterHey Andrew, We are tryint o track down the bug,
On the site that you already have and returning errors, Do you see the map domain list? If you cannot see screenshot see where the map domain dropdown menu is under Documentation about how to select map domains
Attachments:
You must be logged in to view attached files.CiciKeymasterSo you do not see this screenshot attached??/ Documentation https://docs.storelocatorplus.com/blog/google-map-domains-supported-in-slp/
Attachments:
You must be logged in to view attached files.CiciKeymasterDrew you mentioned SSl…did you recently migrate site to Https? Is there a difference between the staging site SSL and the actual live site?
CiciKeymasterDrew can you try something for us on the site url that isnt working? Goto Settings/MAP and map domain and set it to something else, save, then set it back to United States or whatever you had before
And report back what it says.
CiciKeymasterHmmm,,, Ok So here is a test that Lance would like you to try, we noticed there was no region set on your map search when I searched it and sent the string to Lance:
try going to Settings/map/map domain and set it to something else, save, then set it back to United States
And report back if you see changes, errors or fixes
CiciKeymasterHere is an article to help you with what you need to know about Google keys. There should be two boxes under the google , MAPS AND PLACES, CHECK BOTH OFF
https://www.storelocatorplus.com/wordpress-store-locator-plus-google-api-key/
CiciKeymasterI just answered in Premier forum, also running by Lance, but I see 7 errors when I inspect your site, not all are from performing the search. There is an issue with the Geocoder APi key on your site is my guess but I am running it by Lance.
CiciKeymasterIf you do not have any referrer restrictions you do not need to be obtaining a unique geocoding KEY. I can see your geocoding key when I inspect and search in that site so I am guessing that may be one of the issues.
Yes The error is the same , you can see it if you just use the browser tool to inspecyt and look under the console tab at the bottom when it opens up
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchange
The other error that I see now when using the “search for a specific zip code; using browser console inspector is a 404 error.
I am discussing this with the developer.
CiciKeymasterDoes your Google APi have a referrer restriction? If I do not add anything into the search form and change radius and click on find locations the locations appear. But when I type in a zip code it appears the geocoder is not working. I am going over the issue with lance. The geocoder APi on your site does not seem to be working correctly. Did you update your APIs when you added a billing account with Google?
CiciKeymasterBuy Here for WooCommerce has not been updated or tested with current versions of WP or SLP. I will ask the developer if he has any ideas. I do not believe you need it but I will ask the developer.
CiciKeymasterAwesome, thx for letting us know. bSLP also updated the base plugin to 5.0.3 that took care of the accent in the search. WP updates required SLP updates to correct for missing spaces, commas or character, language accents
CiciKeymasterAwesome, thx for letting us know!
CiciKeymasterMore info on setting up the browser key without restrictions
See info on what not to do
If you did not set any referrer restrictions then is it possible you are using an outdated version of the Maps Javascrit API on the live site ?
https://developers.google.com/maps/documentation/javascript/v2tov3
According to Google transition team and support, you would most likely need a new key to go from version 2 to version 3. Be sure to read the article and contact Google support with questions on what you need to do, always make sure you have a backup of your site..
CiciKeymasterI just went to this site: Is this the correct url ?
https://barreamped.com/take-a-class/
It looks like you may have an old version of geocoder and/or have not correctly set up the key. The error message on that page indicates you may not be using the referrer correctly ( To use the Maps JavaScript API client side services, you will need to create a separate API key which can be secured with an HTTP referrers restriction)
The error on that public site:
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged. index
Here is an article and instructions written by the developer and in docs site. Unfortunately Google instructions stink and a lot of people are misled by Google on how to use the referrer info.
CiciKeymasterP.S. Also set the domain name to the country.
https://docs.storelocatorplus.com/blog/google-map-domains-supported-in-slp/
note that only aids Google it does not restrict the search
If you have the Experience add-on you can also use the append shortcode which will add (in the background) the Country region (CR) so results and search will be for the country designated. Experience will also allow you to have a discrete search.
CiciKeymasterUsing the browser inspect tools, there is an error that is topping the load here.
https://stats.g.doubleclick.net/dc.js
I do not know if that is your issue but anything that breaks Javascript execution can break the SLP search. when I watch the performance load (using Chrome browser tools , the map is loading, The map is going to the correct area and it is going to whatever I type into the search box. I cannot replicate your issue on my test site.
See the Troubleshooting guide in documentation, Also try testing with a plain WordPress theme to see if there is an issue with your theme.
CiciKeymasterYeah, Google instructions are the worse! That is why we have written and rewritten documentation and why the developer wrote more than one article. Not only that but their instructions and terms and conditions keep changing. People get angry at the plugin updates sometimes and even write horrid reviews based on the fact that they have had to update versions or because they cant figure out the Google API key
Thanks for providing this update and letting us know the patch worked and also about the API. If you found the support here useful or responsive and have a few seconds and could leave us a stellar review it would be much appreciated! If you do not believe the support was helpful or timely , please send us a note via the support form.
CiciKeymasterYAY!
CiciKeymaster@ jms So it wasnt Google, it was changes to WP in combo possibly with SLP 5.0.1 . Please update SLP to version 5.0.3 test it and let us know. I tested with special character on my own site and a result came back with a pin on the Map.
My test,]
I have locations on a speaaret page that is only Costa Rica, it returned results around Cordoba Costa Rica with the word typed with accents. I then tested it on my locations list page with the accent and it returned the Google MAP view for Cordoba Spain
See attached scrreenshot
Attachments:
You must be logged in to view attached files.CiciKeymasterPianai et al,
I think Lances fix to how WP was handling spaces and characters may fix your issue. I just tested on my site and searched “Malmö and it came back with correct location in Sweden.
Update SLP to version 5.03
CiciKeymasterCatherine, an issue was found, but I do not know if it is your issue or not without more info. If a space was in the name or address WP treated the javascript url differently then what it used to do. We are not sure if it is a combo of SLP 5.0.1 and WP versions 5.0 etc ,
But there is a version SLP 5.0.3 that fixes the address lookup if there is a space or comma .
Please provide specifics and your plugin environment if you are still having a problem
CiciKeymasterChristian,
The developer just found an issue with the way WP changed the ouput when spaces and commas included.
Update to version SLP 5.0.3 and that should fix the spaces in your address, I just tested on my site and it works. There is also an update coming for Premier.
Let us know if that fixed the “name as all one word ” issue .
-
AuthorPosts