Title: javascript error when the plugin is activated
Last modified: August 21, 2016

---

# javascript error when the plugin is activated

 *  Resolved [hannakost](https://wordpress.org/support/users/hannakost/)
 * (@hannakost)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/)
 * hello everyone,
 * I’ve download the plugin as a .zip file, extracted it, and uploaded the files
   to a new folder in my /plugin folder. then I activated the plugin via the wp-
   admin, but when the plugin is activated all of my .js files don’t work because
   of a problem.
    it seems that the problem is here: jquery.easy-fancybox-1.3.4.
   pack.js, in line 18, the error message is: “can’t read property ‘msie’ of undifined”.
 * Hope that you can help me with it.
    thanks
 * [http://wordpress.org/extend/plugins/easy-fancybox/](http://wordpress.org/extend/plugins/easy-fancybox/)

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

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731500)
 * Hi Hanna, could you share a link to the site where this error is occurring?
 *  [Stav Pan Geffen](https://wordpress.org/support/users/panstav/)
 * (@panstav)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731535)
 * I came across that msie error with another lightbox plugin i used- it has something
   to do with a deprecated method jquery.browser method.
 * They’re dropping support of old ie versions, so old method will become unknown
   to browsers with the latest jquery.
 *  [Nex Otaku](https://wordpress.org/support/users/nex-otaku/)
 * (@nex-otaku)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731548)
 * Yes, this is due to incompatibility of Fancybox with new jQuery.
 * My theme loads jQuery 1.9.0 and Fancybox gives errors:
    `b.browser is undefined`
   in Firefox, `Cannot read property 'msie' of undefined` in Chrome.
 * Changed jQuery to 1.8.0, error is gone.
 * Please fix.
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731549)
 * A fix is planned. I hope to have time to implement it before WordPress 3.6 is
   released…
 *  Thread Starter [hannakost](https://wordpress.org/support/users/hannakost/)
 * (@hannakost)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731558)
 * Oh, thanks,
    I changed to 1.8.3 and it works now, but I have other problems with
   two jQuery plugins I have….
 * Thanks again 🙂

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

The topic ‘javascript error when the plugin is activated’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [hannakost](https://wordpress.org/support/users/hannakost/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-when-the-plugin-is-activated/#post-3731558)
 * Status: resolved