• Resolved wp_kc

    (@wp_kc)


    I have two web sites using Envira Gallery Lite. After this morning’s update to WordPress v5.6.0, the photo galleries are broken.

    It looks like the plugin is producing the HTML for the gallery, but the images are not displayed, and clicking on the area where an image should be located opens the image directly instead of in a light box.

    I suspect this is because of WP v5.6.0’s update to the jQuery libraries.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @wp_kc

    Thanks for reaching out!

    I apologize for any trouble you’re experiencing. I’d be more than happy to look into this for you! Can you send us a ticket at https://enviragallery.com/account/support/ so I can further investigate this for you?

    Looking forward to getting this resolved!

    Mine is broken in the free version. Hope you guys fix this fast or it’s onto another plugin

    Thread Starter wp_kc

    (@wp_kc)

    Thanks. I filed a bug report on your web site. Here is an update for others reading this support thread.

    I found and fixed one problem only to find another. A plugin was adding a “defer” parameter to the link for jquery. Since Envira adds inline script in the header right after all the queued scripts are loaded, jquery wasn’t ready for it yet. There was a “jQuery undefined” error because of this. It might be better to surround that code in an onDocumentLoaded event.

    After the defer issue was fixed, the images now load on the gallery page as normal. When you click on an image in the gallery, it opens in a lightbox, so that works too. But there is no way to close the lightbox or navigate to the next image in the gallery. When I looked at the javascript debug console, I saw this error immediately after clicking an image to view it…

    
    Uncaught TypeError: s.get(...).style.removeAttribute is not a function
        F /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:11
        jQuery 32
        M /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        D /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        onload /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        L /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        envirabox /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:11
        jQuery 2
    envira-min.js:11:1033
        F /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:11
        jQuery 32
        M /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        D /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        onload /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        (Async: EventHandlerNonNull)
        L /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:10
        envirabox /wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.8.3.1:11
        jQuery 2
    

    Same here – images open in lightbox but there’s no button to close it again. Have logged support ticket on Envira’s website.

    Hi @dubman @wp_kc @russwiltshire

    Envira Gallery Lite 1.8.3.2 was just released, which will resolve the lightbox issues you’ve ran into with the WordPress 5.6 upgrade. At your earliest convenience, can you please update to our latest version?

    Thank you!

    Installed and tested. Lightbox appears to be working fine now. Thank you ??

    Thread Starter wp_kc

    (@wp_kc)

    It works again! Thanks, you guys are awesome.

    I also had missing galleries after the WP upgrade to 5.5, even though I have the latest Gallery lite version. Installing Enable jQuery Migrate Helper plugin provided a temporary code bridge, but long term, will the plugin be upgraded again to work with 5.5?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Envira Gallery Lite broken in WP 5.6’ is closed to new replies.