how to update the jquery to 3.X

Because of company requirements, I needed to upgrade my JQUERY to 3 or more, but I downloaded a set of pulgin called "jQuery Updater", but after applying it, I found that many locations were broken.

-----------------------------------

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at plugins.js?ver=21.4.4:15
    at plugins.js?ver=21.4.4:15
    at plugins.js?ver=21.4.4:15
    at plugins.js?ver=21.4.4:15
animations.min.js?ver=21.4.4:6 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at animations.min.js?ver=21.4.4:6
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)

k.Deferred.exceptionHook @ jquery-3.4.1.min.js?ver=3.4.1:2
animations.min.js?ver=21.4.4:6 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at animations.min.js?ver=21.4.4:6
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)
jquery-3.4.1.min.js?ver=3.4.1:2 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at HTMLDocument.<anonymous> (animations.min.js?ver=21.4.4:6)
    at e (jquery-3.4.1.min.js?ver=3.4.1:2)
    at t (jquery-3.4.1.min.js?ver=3.4.1:2)
jquery-3.4.1.min.js?ver=3.4.1:2 Uncaught TypeError: $(...).magnificPopup is not a function
    at constructor (scripts.js?ver=21.4.4:1096)
    at init (scripts.js?ver=21.4.4:950)
    at lightbox (scripts.js?ver=21.4.4:1190)
    at HTMLDocument.<anonymous> (scripts.js?ver=21.4.4:1199)
    at e (jquery-3.4.1.min.js?ver=3.4.1:2)
    at t (jquery-3.4.1.min.js?ver=3.4.1:2)
19animations.min.js?ver=21.4.4:6 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at animations.min.js?ver=21.4.4:6
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)

21animations.min.js?ver=21.4.4:6 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at animations.min.js?ver=21.4.4:6
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)

42animations.min.js?ver=21.4.4:6 Uncaught TypeError: n.visible is not a function
    at HTMLDivElement.<anonymous> (animations.min.js?ver=21.4.4:6)
    at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at k.fn.init.each (jquery-3.4.1.min.js?ver=3.4.1:2)
    at animateElement (animations.min.js?ver=21.4.4:6)
    at animations.min.js?ver=21.4.4:6
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)
scripts.js?ver=21.4.4:2359 Uncaught TypeError: $(...).isotope is not a function
    at scripts.js?ver=21.4.4:2359
    at dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
    at v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)

How can I solve this problem? THANKS!

Comments

Sign In or Register to comment.