We have recently installed the CTA plugin and are having some jQuery issues claiming that magnificPopup “is not a function” even though I can find the file is loading in Dev tools no problem.
I was wondering if you had any insight as to what could cause this issue. I have tried force enqueuing jquery which did not work.
Any and all suggestions are welcome. Please find the error from Dev tools below.
Uncaught TypeError: jQuery(...).magnificPopup is not a function
at HTMLDocument.<anonymous> (cta-popup-onpage.js:30)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)