• Resolved nightfallsonhoboken

    (@nightfallsonhoboken)


    Hello, I am receiving this console error: [Error] Failed to load resource: the server responded with a status of 404 () (purify.min.js.map, line 0)

    I use Perfmatters to delay and defer java script, but even if I turn that off and uninstall the plugin, I still get this error. I am using FancyBox Classic Reloaded for linked images only.

    Thanks for your help!

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author FirelightWP

    (@firelightwp)

    Hi @nightfallsonhoboken,

    Hmm. What’s notable to me is that your error points to the .map file, which we never load. But I see a reference the map file is included as the last line of purify.min.js. So I wonder if removing that reference would resolve this issue.

    Let’s test. Can you try going to

    wp-content/plugins/easy-fancybox/vendor/purify.min.js

    and deleting the last line (it will be a comment referencing that looks like:

    //# sourceMappingURL=purify.min.js.map

    And let me know if the issues resolves itself. Assuming so, I’ll remove that in the next release.

    I am urious why you’re the first to see that error. That’s just the standard production script for the purify JS package.

    Thread Starter nightfallsonhoboken

    (@nightfallsonhoboken)

    Thanks for the help! Unfortunately that did not work. Still getting the error.

    I have eliminated any plug-in conflicts and also tried with the default WP 2024 theme.

    Plugin Author FirelightWP

    (@firelightwp)

    @nightfallsonhoboken – are you seeing the error on your website right now? I ask because I’m not seeing it, and if you are and I’m not, I wonder if there’s some browser level caching for you that we need to try to clear.

    I just searched the entire Firelight codebase. That one file I mention above is the only instance where the the term ‘purify.min.js.map‘ appears. So the error must be arising from that reference.

    If you’ve removed that reference, and the code is still trying to load that file, I have to assume it is some form of caching. Do you have any plugin or server based caching you can clear? As an alternative, can you please try reloading the url with a query paramenter (ie, add ?n=1 like example.com?n=1). That will also typically clear cache.

    Thread Starter nightfallsonhoboken

    (@nightfallsonhoboken)

    Looks like it’s just an issue with Safari! I tried on Chrome and there is no error. I did remove that line in the code and clear the cache many times ?? If it’s just Safari, maybe it’s not an issue? It works fine.

    Thanks again for your help!

    Thread Starter nightfallsonhoboken

    (@nightfallsonhoboken)

    Update: The console error is also on your website with a demo gallery! So it’s not just me. ??

    firelightwp.com

    Plugin Author FirelightWP

    (@firelightwp)

    Hi @nightfallsonhoboken – Yes, it looks it something that’s only visible on the Safari browser.

    I went ahead an removed the same reference purify.min.js.map on firelightwp.com that I asked you to remove above. There was one addition: I had to remove a similar reference in the Pro version of the plugin. Are you using Firelight Pro?

    If so can you again go to wp-content/plugins/easy-fancybox-pro/lightboxes/fancybox5/vendor/purify.min.js and delete the comment reference to that file on the last line.

    With that done, can you please reload firelightwp.com and confirm if you still see the error. For me it’s gone now.

    Plugin Author FirelightWP

    (@firelightwp)

    I should add: I will remove these references in the next release for both free and pro versions.

    Thread Starter nightfallsonhoboken

    (@nightfallsonhoboken)

    Excellent! Both sites are free of the error. Thanks so much for the wonderful support!

    Plugin Author FirelightWP

    (@firelightwp)

    Great. Thanks for following up and letting me know.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.