@skafec
Thanks for the link – your site is currently showing a lot of errors – the slider on the Home Page cannot load. This is a lot bigger issue that a3 Lazy Load and it is not the cause.
The error I see is that jquery is not defined. Any plugin that uses jQuery requires that it is loaded first – including a3 Lazy Load. This is the error
Uncaught ReferenceError: jQuery is not defined at (index):1788
There are more and I have put a link to a screenshot below.
Last time I saw this the site was using a plugin to make JavaScript load asynchronously. If you are doing that then you must exclude the WordPress core jQuery
Link to screenshot.
Once you fix that jQuery not being defined in the page load you can reactivate a3 Lazy Load and it and everything else will probably work fine.
Thread Starter
skafec
(@skafec)
Hello,
Thank you for quick reply.
I did use plugin to async/defer all JS as well as jQuery.
I removed it now so all of the errors should be gone.
I guess that because of cache I didn’t see any errors in console log.
I enabled lazy load as well and it seems to work fine now.
Could you please check for errors again?
Thanks & Regards,
Karlo.
Hello @skafec
Yes all of the Jquery undefined errors are resolved now and everything appears to be loading fine.
I do see 1 error in the inspector –
Failed to load resource: the server responded with a status of 404 ()
This is the resource – I do not know what it is
https://wordpress.com/s-202012.js’%20defer%20onload=’/
But it looks like it is related to the async/defer plugin.
I will change your ticket status to ‘Resolved’ now. ou can still reply if you wish.
Best Regards
Steve