Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mushtitude

    (@mushtitude)

    Hi and thanks for sharing the problem.

    Try to update the jQuery version with https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js in wp_enqueue_script

    Hope this will help

    Thread Starter stitox

    (@stitox)

    Thanks for replying,

    I tried this version, but get the same errors ??

    Uncaught ReferenceError: jQuery is not defined load-scripts.php:2

    Uncaught TypeError: Cannot read property ‘length’ of undefined load-scripts.php:3

    Uncaught Error: Syntax error, unrecognized expression: [class^=add:categorychecklist:] jquery.min.js:3

    Thread Starter stitox

    (@stitox)

    otherways is there any way to tell wordpress to not load those script in admin section cause in the front site the plugin works and those errors occure only on admin page (when i want to create an article)

    Plugin Author mushtitude

    (@mushtitude)

    Ok, so you can try 2 things :
    1) Disable only the line :
    wp_deregister_script(array(‘jquery’));
    and replace the wp_enqueue_script with :
    wp_enqueue_script(‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js’);

    2) Disable the 2 lines :
    wp_deregister_script(array(‘jquery’));
    wp_enqueue_script(‘jquery’,https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js’);

    Then, make sure jQuery is call in you webpage (I guess WordPress include it by default, or maybe your theme).
    If not, include it by your own in your theme

    Thread Starter stitox

    (@stitox)

    Thanks mushtitude,

    The seconde option works for me, thanks a lot, this is what i did to fixe that, i modified setHeader function like :

    function setHeader() {
    echo ‘<link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/plugins/easyshare/easyshare.css”>’;
    $custom_css = get_option(‘easyshare_custom_css’);
    if(!empty($custom_css)) {
    echo ‘<style type=”text/css”>’.$custom_css.'</style>’;
    }
    echo ‘<script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script>&#8217;;
    echo ‘<script type=”text/javascript” src=”/wp-content/plugins/easyshare/jquery.easyShare.min.js”></script>’;
    echo ‘<script type=”text/javascript”>’.setEasyShare().'</script>’;
    }

    El garch

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: easyShare] Bug with wordpress 2.9.2’ is closed to new replies.