• Resolved virtous

    (@virtous)


    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://www.ads-software.com/plugins/constant-contact-api/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError: undefined is not a function’ is closed to new replies.