Media Gallery (lightbox not working)

LiaNdrY

Member
Affected version
2.3.5
If the gallery has any category where there are only video files, then when trying to open any of them there will be an error in the browser console and the information in the sidebar will not load. But if the category contains at least one picture, in addition to the video, then there is no such problem.
 
I have the same problem when using Media Gallery 2.3.4. The lightbox sidebar for a video file never loads, and the loading icon spins forever.

Here are the error messages in the browser console:

Code:
core-compiled.js?_v=f4c4f8f8:9 No element passed in to event.
on @ core-compiled.js?_v=f4c4f8f8:9

lightbox-compiled.js?_v=f4c4f8f8:13 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
    at b.updateSidebarIcon (lightbox-compiled.js?_v=f4c4f8f8:13:269)
    at b.initSidebar (lightbox-compiled.js?_v=f4c4f8f8:11:414)
    at b.onSlideDisplayed (lightbox-compiled.js?_v=f4c4f8f8:16:377)
    at Object.trigger (core-compiled.js?_v=f4c4f8f8:8:217)
    at Carousel.ready Carousel.change (lightbox-compiled.js?_v=f4c4f8f8:26:382)
    at lightbox-compiled.js?_v=f4c4f8f8:1:7801
    at Array.forEach (<anonymous>)
    at Ae.emit (lightbox-compiled.js?_v=f4c4f8f8:1:7789)
    at lightbox-compiled.js?_v=f4c4f8f8:1:122875
    at lightbox-compiled.js?_v=f4c4f8f8:1:7801
 
Back
Top Bottom