The page I am experiencing this issue on is this one.
I have tried swapping out static lightGallery JS for CDNJS version, I’ve tried calling the function in both JS and jQuery and I’ve even tried calling the lightGallery JS in both the header and footer but I’m still getting this issue.
I’ve tried searching but can’t find any questions with a relevant and working answer for me.
I’ve had this plug in working in the past but it seems to have broken over the weekend. I thought it might have been a WordPress update that’s broken it but I can’t roll back to check!
Thanks in advance.
Read more here: How can I fix "ReferenceError: lightGallery is not defined"?