I tried with that version to but same error, in codepen works
https://codepen.io/DejanId021/pen/zYYVXGQ
so i then i updated everything and cleaned all errors homepage, but same error with gsap when site goes on second page.
Animation works fine on homepage without errors but when i click and go to other page i get warnings from animation on homepage that gsap cant find target element and when tries to fire this animation:
.from(".linija-about line", {duration: 2, attr: {x1:0, x2:0}, scale:0.2, transformOrigin:"center", autoAlpha:0}, "dva")