Store Locator Plus® for WordPress Forums Store Locator Plus Locations and results not showing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39687
    Timothy
    Participant

    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.

    1. 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.
    2. 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/.
    3. slp.js?ver=39530912844de331ad52a9a0be6b1747:1001 Uncaught TypeError: Cannot read property ‘replace_placeholders’ of undefined
    4. 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

    };

     

    #39688
    Timothy
    Participant

    I 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.
    #39690
    Timothy
    Participant

    For now I uploaded an old Store Locator plus plugin. Its when I upgrade to version 4.4.3 that I get problems.

    #39715
    Cici
    Keymaster

    Tim, 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Locations and results not showing’ is closed to new replies.