Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13091
    crusehh
    Member

    I am getting an error on my site with a plugin stating an issue with the jquery javascript version being less than 1.3

    Example- http://mmghealth.com/?page_id=63

    I had turned off all plugins and am still getting the error. I dont know that the catch everest is the problem. Any thoughts?

    #13132
    Sakin
    Keymaster

    @crusehh: WordPress 3.6 uses jQuery version 1.10.2. See this in your site http://mmghealth.com/wp-includes/js/jquery/jquery.js?ver=1.10.2

    So, this is not a theme or plugin issue. Either you need to change your map to Google Map or you need to add new version of jQuery through Google CDN. For that you need to build child theme and add the following Code in your child theme functions.php

    function catchchild_jquery_enqueue() {
    	if ( !is_admin() ) {	
    		wp_deregister_script( 'jquery' );
    		wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js', false, '2.0.3' );
    		wp_register_script( 'jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null);
    		wp_enqueue_script( 'jquery' );
    	}
    }
    add_action( 'wp_enqueue_scripts', 'catchchild_jquery_enqueue' );

    For more please take help from WordPress Support Forum as this is not a theme or plugin issue.

    #13238
    crusehh
    Member

    Thanks for the direct response Sakin. That response goes above and byond in clarifying the issue.

    #13248
    Sakin
    Keymaster

    @crusehh: Sorry this is technical stuff.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Catch Everest javascript version’ is closed to new replies.