Support » Plugin: WP Store Locator » All of our stores are missing since updating our website to PHP 7.2

  • We recently updated our website to PHP 7.2 and had a developer fix several issues with compatibility and while the majority of the website is running as it should now, our store locator is now suddenly missing every store entry we had created. Any ideas?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Additionally, I tried importing a CV file created from the CSV Manager Add On and am getting the following errors in the screen shot below after attempting to import.

    https://i.imgur.com/mGnivhA.png

    • This reply was modified 1 year, 4 months ago by Drew75.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    Support here is only for the plugin itself, WordPress doesn’t allow support here for paid add-ons. Next time please open a ticket here for issues with the add-ons.

    That error likely shows up because the date format is not in the Y-m-d H:i:s format. You can fix this by settings the date to unmapped after you uploaded the CSV file.

    Not sure about the PHP 7.2 issue with the 1.x version. Do any errors show up in the server error log?

    Thank you Tijmen, I was able to get the stores added and they now show, however, after activating the custom post types option I was prompted to activate, it looks like the way our markers look and the preview windows look is damaged. What can be done to correct this?

    Please see the screen shot link below. Thanks!

    https://i.imgur.com/07PsenQ.png

    In short, the markers have white boxes around them now and the preview window that displays when you click on a markers contents doesn’t display as it should.

    Additionally, the results list below when you do a search query isn’t displaying contents correctly. The logos on the right are squished and there are unnecessary characters displaying above the store name on the left.

    Please see the screen shot link below.

    https://i.imgur.com/YQdlTg4.png

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The white background can be removed with this line.

    #wpsl-gmap img, .wpsl-gmap-canvas img {
       background: none !important;
    }

    If you disable the auto optimize plugin, does everything work better then? The strange characters are there when the W3 Total Caching plugin minified the output, but your not using that one, right?

    In that plugin it’s fixed by excluding the store locator page from being cached / minified. So it’s probabably also caused by the auto optimize plugin doing something with the output.

    • This reply was modified 1 year, 4 months ago by Tijmen Smit.

    pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.

    hope this helps debugging,
    frank (ao dev)

    Thanks guys! The white background on the markers and the strange characters visible in the store details are gone, but the store logos added via Featured Image visible in the results below the map are still squished and distorted. Any idea on a fix for that?

    Please see the screen shot link below:

    https://i.imgur.com/EdCykLf.png

    I would also like to disable the directions option from showing in the store details as I do not have Enable autocomplete active. Can this be done? I don’t believe I see anything in the settings to turn this option off.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Try this CSS code for the image issue.

    #wpsl-wrap #wpsl-stores .wpsl-store-thumb {
    height: auto !important;
    width: auto !important;
    }

    This code will hide the directions link.

    .wpsl-directions { display: none !important; }

    • This reply was modified 1 year, 4 months ago by Tijmen Smit.

    Tijmen,

    I added both code snippets you provided to my style.css and neither seem to be fixing the issue. Please advise. Thanks!

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The code is fine, but I don’t see it in the CSS file.

    I do see this line.

    #wpsl-stores .wpsl-store-thumb {
    height: auto !important;
    }

    But that’s not what I wrote.

    Make sure to add them to the bottom of the CSS file, and you also seem to load them from a CDN ( https://3h98v04dcdnn13jphj2mye4h-wpengine.netdna-ssl.com/wp-content/themes/galley/style.css ), so flush the cache as well.

    That line you saw is from a previous developer that did some tweaks to the store locator a few years back. I have just now removed that line from the section where they added their code and have the lines that you provided to me at the bottom of the CSS file. I also clear the CDN too.

    Please see the linked screen shot below for reference.

    https://i.imgur.com/B0YEhN4.png

    Additionally, below is the entirety of the code they added where you saw the line you posted that you saw. Please let me know if any more of that is conflicting with what we’re trying to do.

    /* ———[ Locator Tweaks ]——— */

    #wpsl-gmap {
    width: 960px;
    max-width: 95%;
    margin: 0 auto;
    }

    @media only screen and (max-device-width : 480px) {
    #wpsl-stores .wpsl-store-thumb {
    width:100px !important;
    }
    }

    @media only screen and (max-device-width : 1024px) {
    #wpsl-gmap {
    display: none !important;
    }
    }

    @media only screen and (max-device-width : 991px) and (min-device-width : 481px) {
    #wpsl-stores .wpsl-store-thumb {
    width:175px !important;
    }
    }

    @media only screen and (min-device-width : 992px) {
    #wpsl-stores .wpsl-store-thumb {
    width:225px !important;
    }
    }

    .wpsl-dropdown {
    font-size:110%
    }

    #wpsl-stores {
    display: none;
    /*height: 350px !important;*/
    }

    #wpsl-result-list {
    width: 93% !important;
    margin: 0 auto !important;
    }

    #content {
    line-height: 24px;
    }

    • This reply was modified 1 year, 4 months ago by Drew75.
    • This reply was modified 1 year, 4 months ago by Drew75.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    Unless I’m missing something, the code I wrote here still isn’t showing up in the css file.

    It looks like the SSL or CDN may be the culprit? I have cleared the CDN already.

    See the direct link to the CSS file below bypassing the content in your link URL containing the ‘https://3h98v04dcdnn13jphj2mye4h-wpengine.netdna-ssl.com’ portion and instead only showing the ‘https://thegalley.com’ and you will see the additional code you provided at the bottom in the style.css file.

    Link

    • This reply was modified 1 year, 4 months ago by Drew75.
Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘All of our stores are missing since updating our website to PHP 7.2’ is closed to new replies.