Store Locator Plus® for WordPress › Forums › Store Locator Plus › Locations and results not showing
Tagged: store locator plus
- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by Cici.
-
AuthorPosts
-
March 17, 2016 at 7:44 PM #39687TimothyParticipant
I am getting a strange error where only 1 location is showing on the map, and none of my results are displaying.
I look at the error logs and this is what is showing up.
- getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
- jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
- slp.js?ver=39530912844de331ad52a9a0be6b1747:1001 Uncaught TypeError: Cannot read property ‘replace_placeholders’ of undefined
- util.js:218 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Getting an Uncaught TypeError: Cannot read property ‘replace_placeholders’ of undefined.
/**
* Create and entry in the results table for this location.
*/
var inner_html = {
‘content’: slplus.results_string.replace_placeholders(
aMarker.name,
parseFloat(aMarker.distance).toFixed(1),
slplus.distance_unit,
aMarker.address,
aMarker.address2,
aMarker.city_state_zip,
aMarker.phone_with_label,
aMarker.fax_with_label,
aMarker.web_link,
aMarker.email_link,
slplus.options.map_domain,
aMarker.search_address,
aMarker.location_address,
slplus.options[‘label_directions’],
aMarker.pro_tags,
aMarker.id,
aMarker.country,
aMarker.hours_sanitized,
aMarker
).
replace_shortcodes(aMarker),
‘finished’: false
};
March 17, 2016 at 7:53 PM #39688TimothyParticipantI was looking at the locations page and it says there are 7431 locations, but none are showing. Did they get deleted somehow? Do I need to import them again.
Attachments:
You must be logged in to view attached files.March 17, 2016 at 8:11 PM #39690TimothyParticipantFor now I uploaded an old Store Locator plus plugin. Its when I upgrade to version 4.4.3 that I get problems.
March 18, 2016 at 2:44 PM #39715CiciKeymasterTim, The one thing you didn’t provide is your Plugin environment and without that we cant really help you. Please read the Posting Guidelines. it specifies what we need to help you, , your locator site url” etc
What did you upgrade from / to?
Were you trying to use old versions of some add-ons with New versions of Store Locator Plus or WP? They wont work together (see troubleshooting about updating)
Troubleshooting
The first error message is self explanatory: just that your site isnt using the more secure https: that is a security certificate and will not effect your site loading.line 4 is Googles warning to everyone who has not applied for an API key, they are going that way and eventually anyone who wants to use Google maps (your end, we have ours) needs to sign up for an API key. This allows Google to see if you are using more than your Google query allottment.
-
AuthorPosts
- The topic ‘Locations and results not showing’ is closed to new replies.