• Resolved doffine

    (@doffine)


    Hello NGG team,

    we just noted a problem with Simple Lightbox in one of our many WordPress installations. It occurs with the newest version of NGG plugin 3.3.6.

    We have JavaScript issues in the console and with this the whole website gets affected, partially crashing:

    simple-lightbox.js?ver=3.3.6:1192
    Uncaught TypeError: element.addEventListener is not a function
        at SimpleLightbox.addEventListener (simple-lightbox.js?ver=3.3.6:1192)
        at new SimpleLightbox (simple-lightbox.js?ver=3.3.6:187)
        at a.fn.init.$.fn.simpleLightbox (simple-lightbox.js?ver=3.3.6:1562)
        at nextgen_simplelightbox_init (nextgen_simple_lightbox_init.js?ver=3.3.6:14)
        at HTMLDocument.<anonymous> (nextgen_simple_lightbox_init.js?ver=3.3.6:17)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    
    (index):1 Unchecked runtime.lastError: The message port closed before a response was received.

    We tested the following:

    – Rollback to NGG 3.3.5 fixed the problem. No more Javascript errors, and all is running smoothly again.
    – We changed the lightbox used by NGG 3.3.6 from Simple Lightbox to Fancybox, and all is running smoothly again.
    – Tested it on current browsers like Firefox or Chrome – problem occured everywhere.
    – WordPress is 5.4.2, PHP is 7.4, MySQL is up-to-date, too
    – We deactivated all plugins but the problem persisted.
    – We changed the theme but the problem persisted.

    Since in your last changelog you write something about changes in Simple Lightbox and all seems to point in that direction, we guess that there must be a problem somewhere.

    Could you fix this – what can we do now?

    Many greetings and thanks for your great plugin and help in advance,
    -doffine

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter doffine

    (@doffine)

    PS: We also completely uninstalled NGG plugin and reinstalled it – the problem persisted.

    -doffine

    Hello @doffine,

    Apologies, this seems to be an existing bug.
    We have shared this forum thread as a “Bug Report” to be reviewed by our developers.
    Please keep in mind that our developers need to address these issues in order of priority, so an issue that many hundreds of users are experiencing will need to be addressed before an issue reported that is affecting only a few users or just one.

    Could you please temporarily change your Lightbox Effect to another lightbox effect?
    https://www.imagely.com/docs/lightbox-effects/

    Thread Starter doffine

    (@doffine)

    Hello @gabyimagely,

    thanks for coming back to us. We already switched to Fancybox, since this is running without any problems. Or wasn’t it that what you mean?

    Please let us know in this thread as soon as the bug is fixed.

    Thank you very much,
    -doffine

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @doffine,

    Sounds good. That’s exactly what Gaby wanted to suggest – switching to a different lightbox effect until our developers will release a fix for it

    Sorry for the inconveniences

    Hey guys, just for information: can confirm this issues exists with version 3.3.6. A downgrade to 3.3.5 fixed the issue for me temporarily.

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Yes. Downgrading to 3.3.5 should temporarily fix the SimpleLightbox problem until our developers will fix some problems caused by the new updated SimpleLightbox.

    Also impacted. Thanks for the suggestion to use Fancybox instead.

    This bug is already fixed in code, ready to be released.
    Please, update your plugin as soon as you see the notification in your WordPress dashboard.

    We are happy to help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Simple Lightbox crashes in new version 3.3.6’ is closed to new replies.