Uncaught TypeError: I.magnificPopup is Not A Function At HTMLAnchorElement. - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Uncaught TypeError: I.magnificPopup is Not A Function At HTMLAnchorElement.

MC

Michel Campaner

SP Page Builder 2 years ago

Hello,

I've some images published on a SPPB page. I used the option "open in a lightbox" since the creation of the site and everything worked well. But today I noticed that my images no longer opened in a lightbox and I have this error in the console. (maybe since the upgrade, idk).

jquery.parallax.js:1 Uncaught ReferenceError: jQuery is not defined at jquery.parallax.js:1:891 (anonymous) @ jquery.parallax.js:1

jquery.magnific-popup.min.js:4 Uncaught TypeError: e is not a function at jquery.magnific-popup.min.js:4:344 at jquery.magnific-popup.min.js:4:73 at jquery.magnific-popup.min.js:4:147 (anonymous) @ jquery.magnific-popup.min.js:4 (anonymous) @ jquery.magnific-popup.min.js:4 (anonymous) @ jquery.magnific-popup.min.js:4

sppagebuilder.js:9 Uncaught TypeError: i.magnificPopup is not a function at HTMLAnchorElement.<anonymous> (sppagebuilder.js:9:17066) at HTMLDocument.dispatch (jquery-3.7.1.min.js:2:40035) at v.handle (jquery-3.7.1.min.js:2:38006) (anonymous) @ sppagebuilder.js:9 dispatch @ jquery-3.7.1.min.js:2 v.handle @ jquery-3.7.1.min.js:2

How can I fix that ?

Here is the page on which I encounter the problem : https://www.zuberrieder.fr/fr/galerie.html

Thanks for your answer, Regards !

0
2 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #133843

Hi Michel,

Fixed, the problem was caused by JavaScripts compression from your template. When I disabled all is OK now.

BTW

Consider Joomla upgrade, as I make quick check, all extensions have J4 version already.

1
MC
Michel Campaner
Accepted Answer
2 years ago #133860

Hi Paul,

Thanks a lot !

Best regards !

0