Hi @khokhanipooja
I hope you are doing good today.
Base on your site source looks like you use some plugin to optimize your assets on the site and possibly it has defer feature enabled. If there is an option to exclude the file there, please add “smush-lazy-load.min.js” as an exclusion.
I believe this is causing the issue. Instead of that, you can move the lazy load scripts to the footer from the Smush setting:
Smush -> Lazy Load -> Scripts -> Method
Kind Regards,
Kris
Hello
Thanks for your reply. For Optimize i have used Async Javascript. I have tried both method
1. Exclusion
2. At include at footer
Still it throws error.
Thanks in Advanced.
Hi @khokhanipooja
Hope you are doing well.
Do you have any other optmization plugin?
I made some tests using the Async Javascript plugin and I was able to avoid the Lazy Load not defined using the script exclusion, or the plugin exclusion.
https://monosnap.com/file/jWGbLs4RRnSr5DhidrfxM2tvH5gyYl
https://monosnap.com/file/dQx7Sb1G6x3qAycGyebOB9vwT7mIie
Make sure to flush all caches before testing the page.
Let us know the result you got.
Best Regards
Patrick Freitas