• Hi Tijmen,

    A client of mine uses your plugin and says it worked perfectly, but just stopped working recently (probably after an update I guess). I used the Health Check & Troubleshooting plugin, which disables all plugins and switches to the twenty twenty theme to rule out any conflicts. Then I activated your plugin, but it still doesn’t work. The map isn’t loaded, but the filters aren’t loaded correctly either.

    With the troubleshooting plugin activated, I get the following JS error in devtools:

    DevTools failed to load SourceMap: Could not load content for chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/js/content.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
    DevTools failed to load SourceMap: Could not load content for chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/js/intercom-link-expand-loader.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

    With the troubleshooting plugin deactivated, I get the following JS error:

    combined.js:274 Uncaught TypeError: Cannot read property 'msie' of undefined
        at HTMLDocument.<anonymous> (combined.js:274)
        at i (dk8bx.js:3)
        at Object.fireWith [as resolveWith] (dk8bx.js:3)
        at Function.ready (dk8bx.js:3)
        at HTMLDocument.J (dk8bx.js:3)

    The Site Health tool doesn’t have any critical errors.

    Hope you can help!

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    The last error is the problem, and comes from https://www.studio-flash.be/wp-content/cache/wpfc-minified/7x70pg1m/dk8bx.js

    This comes from the WP Fast Cache plugin. If you look for a way to exclude the store locator page from being cached in the WP Fast Cache settings, then it should work fine.

    Thread Starter Bob the web builder

    (@yourlive)

    Hi Tijmen,

    Thanks for your quick response. However, that doesn’t seem to solve the problem. I excluded the page, changed the setting so JS is not combined, even deactivated the caching plugin completely… doesn’t work.

    And again, it didn’t work with all plugins (including the caching plugin) deactivated either…

    Plugin Author Tijmen Smit

    (@tijmensmit)

    There’s one error left in the browser console ( F12 ), and that’s from this file.

    https://www.studio-flash.be/wp-content/uploads/photo-me//combined.js

    Uncaught TypeError: Cannot read property 'msie' of undefined
        at HTMLDocument.<anonymous> (combined.js:274)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at Function.ready (jquery.js:2)
        at HTMLDocument.J (jquery.js:2)

    That file isn’t part of WordPress itself, so a developer must have added it there.

    Thread Starter Bob the web builder

    (@yourlive)

    Photo-me is the theme, but changing the theme to twenty twenty doesn’t fix the problem. Clearing the theme cache doesn’t either (though is does delete the file you mentioned).

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The combined.js isn’t part of the store locator plugin, so I have no idea where it comes from. If the theme is called photo-me, then you will to contact the theme author and ask them to fix the JS error.

    If you switch the theme, then the same error still shows up in the browser console ( F12 ) ? Maybe another plugin loads that file?

    Thread Starter Bob the web builder

    (@yourlive)

    Hi Tijmen,

    when I switch to twenty twenty theme, I don’t get that JS error. However, I do get a bunch of warnings that you can see in this screen recording. To rule out Chrome, I tested in FireFox too, but it doesn’t work there either.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    When you use the Twenty Twenty theme is the caching plugin still active?

    Thread Starter Bob the web builder

    (@yourlive)

    Not sure in that recording, but as I said before, I also tried it with the Twenty Twenty theme and all plugins (except yours) deactivated. That includes the caching plugin of course.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The error ( custom.js:764 Uncaught TypeError: Cannot read property ‘msie’ of undefined ) to the https://www.studio-flash.be/wp-content/themes/photome/js/custom.js file is still there in the browser console.

    If you fix that first, then I can see what other issue there might be that break it.

    Either ask the theme author how to fix this, or if your comfortable with code unload / prevent the file from loading in the first place ( this may happen in the functions.php inside your active theme folder ).

    Thread Starter Bob the web builder

    (@yourlive)

    Sure it is now, because I reactivated that theme since it’s a live site. This is a 5 year old version of that theme so I asked my client to get the latest version.

    However, I sincerely doubt the theme is the problem since it also occurs with the Twenty Twenty theme and all other plugins disabled. Could it be a hosting issue?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You can check if something shows up in the server error logs, but I doubt that’s the reason for this.

    Maybe some files are corrupt or so. If you overwrite the files in the wp-content/plugins/wp-store-locator folder with the one hosted on www.remarpro.com. Does that fix it? You didn’t modify any of the code, right?

    • This reply was modified 4 years, 6 months ago by Tijmen Smit.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Stopped working’ is closed to new replies.