• Resolved webdash

    (@webdash)


    Hi – I’m getting a 404 error in browser console using latest version with D5:

    /wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/magnific-popup.js?ver=5.2.1

    Error goes away when plugin deactvated.

    Any suggestions how to remedy this?

    thanks.

    D.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fernando Tellado

    (@fernandot)

    Hi @webdash ,

    Thanks for the detailed report. I’ve reproduced the issue and confirmed the cause: on Divi 5, the bundled magnific-popup.js file is no longer at the path the plugin is trying to load it from, so the browser logs a 404.

    The good news is that this error is only cosmetic. The plugin’s built-in fallback lightbox automatically takes over when Magnific Popup isn’t available, so image clicks should still open in a proper lightbox even with the 404 showing in the console. If you’re seeing the lightbox fail to open at all, please let me know because that would be a separate issue.

    I’m releasing a patch (2.2.4) that checks whether the file actually exists on disk before enqueuing it, which removes the 404 on Divi 5 and lets the fallback run cleanly. It should be on the repository within the next few days.

    Thanks for flagging it.

    Thread Starter webdash

    (@webdash)

    thanks.

    confirming pop-ups still work, just a console error.

    I’ll look forward to the update.

    Kind Regards

    D

    Plugin Author Fernando Tellado

    (@fernandot)

    I’ve just updated the plugin 😉

    Thread Starter webdash

    (@webdash)

    Perfect, resolved.

    Thank you!

    Plugin Author Fernando Tellado

    (@fernandot)

    You’re welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.