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.
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.
@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.
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!
Update: The console error is also on your website with a demo gallery! So it’s not just me. π
firelightwp.com
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.
I should add: I will remove these references in the next release for both free and pro versions.
Excellent! Both sites are free of the error. Thanks so much for the wonderful support!
Great. Thanks for following up and letting me know.