Title: JS error &#8211; gallery not loading
Last modified: August 30, 2016

---

# JS error – gallery not loading

 *  Resolved [katiekeenan](https://wordpress.org/support/users/katiekeenan/)
 * (@katiekeenan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/js-error-gallery-not-loading/)
 * WordPress Version: 4.2.2
    Envira Lite Version: 1.3.2 Example URL demonstrating
   the issue: [https://livingbig.org/test-gallery/](https://livingbig.org/test-gallery/)
 * Here are the console errors:
    Uncaught TypeError: Cannot read property ‘layout’
   of undefined cannot call methods on isotope prior to initialization; attempted
   to call method ‘reLayout’
 * The gallery is not displaying on the front-end. It looks like it has something
   to do with the onload.js file.
 * Any ideas?
 * Thanks in advance!
 * [https://wordpress.org/plugins/envira-gallery-lite/](https://wordpress.org/plugins/envira-gallery-lite/)

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

 *  [Tim](https://wordpress.org/support/users/n7studios/)
 * (@n7studios)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/js-error-gallery-not-loading/#post-6355482)
 * That’s not our plugin causing the error – looks like another plugin or theme 
   uses a different version of Isotope, and because ours is being loaded first, 
   you’re getting errors.
 * Our Paid version uses the latest version of Isotope, which would resolve this
   issue, but I’ll also look into backporting this into the free version to get 
   things working correctly.
 *  Thread Starter [katiekeenan](https://wordpress.org/support/users/katiekeenan/)
 * (@katiekeenan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/js-error-gallery-not-loading/#post-6355564)
 * Thanks for the quick response. I was planning on purchasing the Pro version. 
   I’ll go ahead and get the trial and see if it works.

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

The topic ‘JS error – gallery not loading’ is closed to new replies.

 * ![](https://ps.w.org/envira-gallery-lite/assets/icon-256x256.png?rev=2022837)
 * [Envira Gallery - Image Photo Gallery, Albums, Video Gallery, Slideshows & More](https://wordpress.org/plugins/envira-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/envira-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/envira-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/envira-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/envira-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/envira-gallery-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [katiekeenan](https://wordpress.org/support/users/katiekeenan/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/js-error-gallery-not-loading/#post-6355564)
 * Status: resolved