I am using WP Bodymoovin plugin and it works properly only on the main page. In all other pages is not working properly, doesn't load the animation and gives me that error:

lottie.min.js?ver=5.2.1:13 Uncaught TypeError: Cannot read property 'appendChild' of undefined
at SVGRenderer.configAnimation (lottie.min.js?ver=5.2.1:13)
at AnimationItem.configAnimation (lottie.min.js?ver=5.2.1:14)
at AnimationItem.setParams (lottie.min.js?ver=5.2.1:14)
at Object.g [as loadAnimation] (lottie.min.js?ver=5.2.1:14)
at Object.loadAnimation (lottie.min.js?ver=5.2.1:1)
at d (wpbodymovin.min.js?ver=2.0.1:1)
at b (wpbodymovin.min.js?ver=2.0.1:1)
at HTMLDocument. (wpbodymovin.min.js?ver=2.0.1:1)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)

I know that it should work on all pages, because on tutorial the guy who explains how to use it, makes another page which is not Home page and works for him...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.