Support » Plugin: a3 Lazy Load » Lazy load breaking site

  • Resolved skafec



    Today I updated to new version of Lazy Load.

    After updating to new version i realized that it sometimes breaks site.
    It tends to remove all images (example on home page slider images and product
    images would not show) and it even stops entire page from loading even tho browser
    says that page is loaded.

    I currently have it disabled until i resolve this issue.

    Thanks & Regards,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steve Truman



    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



    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,

    Plugin Author Steve Truman


    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’%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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lazy load breaking site’ is closed to new replies.