Hi, I have a problem with the lightbox. If I click on an image, the lightbox appears, and as soon as the image appears, the lightbox with the navigation and icons disappears.
Hey Jean,
Thank you for the inquiry.
We have found a few errors coming from this script.
— https://www.freepixel.net/wp-content/themes/freepixel/js/particles.min.js
Uncaught TypeError: Cannot read properties of null (reading ‘getElementsByClassName’)
at window.particlesJS (particles.min.js:9:22398)
at app.js:14:1
Please try to temporarily disable the script or the plugin that uses it, then purge the cache. Let us know the result.
Best regards,
Ismael
Hi, I deleted this script, but the problem persists.
Hi,
Thank you for the update.
You can try temporarily disabling the Enfold > Performance > File Compression settings to regenerate the scripts and stylesheets. We also found that the WP Media Folder plugin is loading the same lightbox assets. Have you tried disabling this plugin or disabling its lightbox option?
Best regards,
Ismael
Hi, after several tries, it was the AjaxPress plugin that was causing the problem, I reported the problem to its support, everything works fine now.
Regards.
Jean
