Title: TypeError: jQuery(&#8230;).shiftnav is not a function
Last modified: August 24, 2016

---

# TypeError: jQuery(…).shiftnav is not a function

 *  Resolved [mvandemar](https://wordpress.org/support/users/mvandemar/)
 * (@mvandemar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/typeerror-jqueryshiftnav-is-not-a-function/)
 * I have 2 sites set up, one dev and one live:
 * [http://summitdefense.thedevbox.net/blog/](http://summitdefense.thedevbox.net/blog/)
 * [http://www.summitdefense.com/blog/](http://www.summitdefense.com/blog/)
 * Identical theme, plugins, and settings on both. On the dev site, ShiftNav works
   fine, but on the live site I get the following Javascript error:
 * `TypeError: jQuery(...).shiftnav is not a function shiftnav.js:755:0`
 * Any idea why it would be working on one and not the other? Thanks.
 * -Michael
 * [https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/](https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/)

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

 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/typeerror-jqueryshiftnav-is-not-a-function/#post-6040361)
 * Answered via Pro Support Ticket, but copying it here just for reference if anyone
   else encounters something like this (Michael, you can respond to the ticket email
   if you have any further questions):
 * —————————-
 * ​Looks like that is happening because you are loading multiple copies of the 
   jQuery library. In addition to the proper jQuery version (1.11.1), you’re loading
   at least two other copies of the library:
    ​ ​v1.6.2: [http://leadsndr.com/js.php](http://leadsndr.com/js.php)​`​
   <script type="text/javascript" src="http://leadsndr.com/js.php"></script>`
 * ​
    ​v1.10.1 [http://cdn.callrail.com/companies/307811487/0484d0f1c73144cadcb1/11/swap.js](http://cdn.callrail.com/companies/307811487/0484d0f1c73144cadcb1/11/swap.js)​​
 *     ```
       <!-- CallRail WordPress Integraton -->
       <script type="text/javascript" src="//cdn.callrail.com/companies/307811487/0484d0f1c73144cadcb1/11/swap.js"></script>
       ```
   
 * ​
    You’ll want to clean up your install so that you’re only running one copy 
   of jQuery (1.11.1). This isn’t actually a ShiftNav issue at all, the problem 
   is just that you load a jQuery library, attach ShiftNav to it, then overwrite
   that library – so when ShiftNav is called later, it doesn’t exist in the overridden
   library. ​ ​Hope that helps! ​ ​Chris
 *  Thread Starter [mvandemar](https://wordpress.org/support/users/mvandemar/)
 * (@mvandemar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/typeerror-jqueryshiftnav-is-not-a-function/#post-6040364)
 * Removing <script type=”text/javascript” src=”[http://leadsndr.com/js.php”></script&gt](http://leadsndr.com/js.php”></script&gt);
   did the trick, so I am guessing that was only loading when the live site was 
   the referrer.
 * Having the other reference in there doesn’t appear to be hurting anything, although
   you are right, there definitely should only be one. I think that it’s the “jQuery.
   noConflict” reference in there that allows it to co-exist in there.
 * Thanks!
 * -Michael
 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/typeerror-jqueryshiftnav-is-not-a-function/#post-6040381)
 * Glad it helped! 🙂

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

The topic ‘TypeError: jQuery(…).shiftnav is not a function’ is closed to new replies.

 * ![](https://ps.w.org/shiftnav-responsive-mobile-menu/assets/icon-256x256.jpg?
   rev=2247219)
 * [ShiftNav - Responsive Mobile Menu](https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shiftnav-responsive-mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/shiftnav-responsive-mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shiftnav-responsive-mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shiftnav-responsive-mobile-menu/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [shiftnav](https://wordpress.org/support/topic-tag/shiftnav/)

 * 3 replies
 * 2 participants
 * Last reply from: [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/typeerror-jqueryshiftnav-is-not-a-function/#post-6040381)
 * Status: resolved