Tagged: Lottiefile
-
AuthorPosts
-
May 12, 2023 at 3:21 pm #1407251
Hi support team,
In one project I use some Lottiefiles, these don’t work anymore with Enfold version 5.6.2 and in the browser debugger there are corresponding JS error messages:15:05:19.443 Uncaught TypeError: aviaJS.aviaPlugins is undefined
<anonymous> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_diff/image_diff.js:551
<anonymous> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_diff/image_diff.js:554
image_diff.js:551:3
<anonym> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_diff/image_diff.js:551
<anonym> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_diff/image_diff.js:554
15:05:19.444
Uncaught TypeError: aviaJS.aviaPlugins is undefined
<anonymous> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/lottie_animation/lottie_animation.js:178
<anonymous> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/lottie_animation/lottie_animation.js:181
lottie_animation.js:178:3
<anonym> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/lottie_animation/lottie_animation.js:178
<anonym> https://caravandiez.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/lottie_animation/lottie_animation.js:181Cleared all cache systems and set Enfold performance setting to unoptimised and tried in incognito browser with no improvement :(
Can you check this and improve it…Thanks, JJ :D
May 14, 2023 at 10:44 am #1407337Hey Jörg,
I can’t reproduce the problem you are getting on a test installation. Did you try deactivating all plugins temporarily and remove any custom code you might have added? If that doesn’t help, then please post admin WordPress login details in private, and let us know how to reproduce the results you are getting.
Best regards,
RikardMay 14, 2023 at 11:20 am #1407342Hi Rikard,
Thanks for your answer. All plugins deactivated, no change :( Then I completely emptied my Child Theme functions.php and lo and behold the Lottiefiles were suddenly visible again. So step by step I integrated the different functions & snippets again and then I stumbled across the following problem as soon as this was active, the lottiefiles were no longer visible
// Move jQuery to footer by dequeuing it and then enqueue it again with custom settings
remove_action(‘wp_head’, ‘wp_print_scripts’);
remove_action(‘wp_head’, ‘wp_print_head_scripts’, 9);
remove_action(‘wp_head’, ‘wp_enqueue_scripts’, 1);add_action(‘wp_footer’, ‘wp_print_scripts’, 5);
add_action(‘wp_footer’, ‘wp_enqueue_scripts’, 5);
add_action(‘wp_footer’, ‘wp_print_head_scripts’, 5);In the meantime the moving is possible in the Enfold, leave the function out now ;)
Thanks for your answer anyway! And post can be closed :D
Jörg :D
-
AuthorPosts
- The topic ‘Lottiefiles in Enfold 5.6.2 no longer work :(’ is closed to new replies.