Title: jQuery error v1.5.2
Last modified: August 22, 2016

---

# jQuery error v1.5.2

 *  Resolved [WebAssembler](https://wordpress.org/support/users/webassembler/)
 * (@webassembler)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-error-v152/)
 * Hi there
 * I’ve just updated the plugin to the latest version and there is a jQuery error
   that’s preventing the menu from working:
 * It’s on line 50 of the showPanel function. The error is undefined is not a function:
 * `anchor.parent().siblings().find('.mega-toggle-on').addBack('.mega-toggle-on').
   children('a').each(function() {`
 * Thanks,
    Anthony
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

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

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-error-v152/#post-5740818)
 * Hi Anthony
 * Thanks for the report.
 * I suspect it’s the addBack function. The ‘addBack’ function has been in jQuery
   since v1.8, so I think your version of jQuery must be 1.7 or below, which is 
   odd because the default version of jQuery shipped with WordPress is v1.11.
 * I think your theme must be using an old version of jQuery. Please try installing
   the jQuery Updater plugin, if that doesn’t work please send me a link to your
   site and I’ll take a look.
 * Regards,
    Tom.
 *  Thread Starter [WebAssembler](https://wordpress.org/support/users/webassembler/)
 * (@webassembler)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-error-v152/#post-5740887)
 * Hi Tom
 * Thank you very much – that was exactly it as I was running jQuery 1.7.1.
 * I had deregistered jQuery to use that version from a while back and didn’t even
   noticed it was out of date, great spot.

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

The topic ‘jQuery error v1.5.2’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [max mega menu](https://wordpress.org/support/topic-tag/max-mega-menu/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebAssembler](https://wordpress.org/support/users/webassembler/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-error-v152/#post-5740887)
 * Status: resolved