Title: Uncaught TypeError
Last modified: August 31, 2016

---

# Uncaught TypeError

 *  Resolved [jmzwiv](https://wordpress.org/support/users/jmzwiv/)
 * (@jmzwiv)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-typeerror-11/)
 * When clicking the ‘Add Gallery’ button when adding/editing a post nothing happens.
   Checking the browser error console in Chrome says: “Uncaught TypeError: Cannot
   use ‘in’ operator to search for ‘model’ in envira-selection-sidebar”. In IE it
   says “Invalid operand to ‘in’: Object expected”.
 * I’m not sure when this started, perhaps since v1.5. Other features of Envira 
   seem fine, I can add a gallery and insert the shortcode – just not using the ‘
   add gallery’ button.
 * We running WordPress 4.4.3 and the latest Envira 1.5.0.3
 * Thanks in advance!
 * [https://wordpress.org/plugins/envira-gallery-lite/](https://wordpress.org/plugins/envira-gallery-lite/)

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

 *  [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * (@ericakfranz)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418694)
 * Hey!
 * Have you checked for a possible theme/plugin conflict by disabling all other 
   plugins and temporarily reverting to the Twenty-Sixteen theme?
 * I just checked this functionality on my own installation with only Envira Gallery
   Lite plugin activated and running Twenty-Sixteen theme but can’t reproduce.
 * Thanks!
 *  Thread Starter [jmzwiv](https://wordpress.org/support/users/jmzwiv/)
 * (@jmzwiv)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418772)
 * I’m stumped at the moment. Don’t really want to start disabling things just yet
   on a live site. I have a -near- duplicate of the site with the same plugins and
   theme versions where the ‘Add Gallery’ button works.
 * The duplicate site is on the latest WordPress which my live site isn’t. So at
   a good time I’ll get the live one updated and see if that has any affect.
 *  [Thomas Griffin](https://wordpress.org/support/users/griffinjt/)
 * (@griffinjt)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418926)
 * This should be fixed with the latest 1.5.0.4 update. If not, let me know and 
   we will look into it further.
 *  Thread Starter [jmzwiv](https://wordpress.org/support/users/jmzwiv/)
 * (@jmzwiv)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418944)
 * Hi Thomas,
 * I’m afraid the 1.5.0.4 update made no difference to my error. Once updating WordPress
   to 4.5 the problem goes away however.
 * Thanks
 *  [marciovl](https://wordpress.org/support/users/marciovl/)
 * (@marciovl)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418980)
 * [@thomas](https://wordpress.org/support/users/thomas/)
    I’m also experiencing
   this problem and have just purchased your Gold membership.
 * Same return from browser and the release is scheduled for this week
    I’m afraid
   we will have to switch to other solution =/
 *  [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418981)
 * Hi @Marciovi 🙂
 * If you have a license, can you go to our [Support page](http://enviragallery.com/docs/)
   and open a ticket please so we can work through any issues you have 🙂
 * Thanks

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

The topic ‘Uncaught TypeError’ 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/)

 * 6 replies
 * 5 participants
 * Last reply from: [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/uncaught-typeerror-11/#post-7418981)
 * Status: resolved