Title: Uncaught TypeError: undefined is not a function
Last modified: August 22, 2016

---

# Uncaught TypeError: undefined is not a function

 *  Resolved [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-10/)
 * Whenever I activate the plugin my hover menu stops working and I get this error
 * **Uncaught TypeError: undefined is not a function**
 * The error goes away when I deactivate the plugin…
 * In my functions.php file I load jquery like this because I have other scripts
   that depend on it.
 *     ```
       if(!is_admin()) {
   
       	wp_deregister_script('jquery');
   
       	wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js");
   
       	wp_enqueue_script('jquery');
       }
       ```
   
 * Is there a fix for this?
 * Help is appreciated!
 * [https://wordpress.org/plugins/constant-contact-api/](https://wordpress.org/plugins/constant-contact-api/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-10/#post-5631534)
 * I found a solution for the problem in this post
    [http://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-document](http://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-document)

Viewing 1 replies (of 1 total)

The topic ‘Uncaught TypeError: undefined is not a function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/constant-contact-api_f6e5e6.svg)
 * [Constant Contact for WordPress](https://wordpress.org/plugins/constant-contact-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-api/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-api/reviews/)

## Tags

 * [typeerror](https://wordpress.org/support/topic-tag/typeerror/)
 * [uncaught](https://wordpress.org/support/topic-tag/uncaught/)

 * 1 reply
 * 1 participant
 * Last reply from: [virtous](https://wordpress.org/support/users/virtous/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-10/#post-5631534)
 * Status: resolved