Title: ReferenceError: Can&#8217;t find variable: LazyLoad
Last modified: March 13, 2019

---

# ReferenceError: Can’t find variable: LazyLoad

 *  Resolved [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/)
 * (@dave_wordpress)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/)
 * I have a fresh install today on a live site on which if I enable Lazy Load Images
   I get grey placeholder boxes and the above error in the console (*line 2 in clip
   below). I can’t leave the setting enabled as it’s a live site, but I could enable
   it briefly for testing.
 * I used Purge All to no effect.
    Any suggestions of how to proceed? Report number:
   YKEFBILU
 *     ```
       		s = function() {
       *Err->			n = new LazyLoad({
       				elements_selector: "[data-lazyloaded]"
       			}), o = function() {
       				n.update()
       			}, t.MutationObserver && new MutationObserver(o).observe(e.documentElement, {
       				childList: !0,
       				subtree: !0,
       				attributes: !0
       			})
       ```
   
    -  This topic was modified 7 years, 2 months ago by [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freferenceerror-cant-find-variable-lazyload%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11308600)
 * Hi,
 * Could you please try disable JS defer/minify/combine and then enable lazyload,
   see how it goes ?
 * Best regards
 *  Thread Starter [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/)
 * (@dave_wordpress)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11308715)
 * OK sorry for delay I was on a call.
    Load JS Deferred was already OFF I just 
   retried (already had tried these): CSS Minify OFF (just in case) CSS Combine 
   OFF (just in case) JS Minify OFF JS Combine OFF JS HTTP/2 Push OFF Purge All.
   Same effect unfortunately.
 * I added LiteSpeed Cache to Plugin Exclusion in my previously installed Aysnc 
   Javascript & also disabled the whole Async Javascript plugin, also to no benefit.
    -  This reply was modified 7 years, 2 months ago by [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/).
    -  This reply was modified 7 years, 2 months ago by [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11308766)
 * Hi,
 * Could you please try reset to default setting , then lazy load and see how it
   goes ?
 * Best regards,
 *  Thread Starter [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/)
 * (@dave_wordpress)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11308814)
 * Hi, done.
    No change after enabling just that one option after Reset all. 🙁 
   As I said, this is a new install today so there weren’t many other hacks… 😉
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11309028)
 * Hi,
 * You did purge after you changed setting , right ?
 * Please submit a ticket [here](https://store.litespeedtech.com/store/submitticket.php),
   we will dig it deeper.
 * Best regards,
 *  Thread Starter [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/)
 * (@dave_wordpress)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11309238)
 * Hi, yup I did. **Purge All** and **I** have become very close friends.
 * Will do. Thanks for your attempt to help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘ReferenceError: Can’t find variable: LazyLoad’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [dave_wordpress](https://wordpress.org/support/users/dave_wordpress/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-lazyload/#post-11309238)
 * Status: resolved