Title: [Plugin: easyShare] Bug with wordpress 2.9.2
Last modified: August 20, 2016

---

# [Plugin: easyShare] Bug with wordpress 2.9.2

 *  Resolved [stitox](https://wordpress.org/support/users/stitox/)
 * (@stitox)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/)
 * Hello,
 * EasyShare works fine on 2.9.2 but the html editor seems disabled, i ckecked with
   Firebug, i get those errors :
 * Uncaught ReferenceError: jQuery is not defined
    Uncaught TypeError: Cannot read
   property ‘length’ of undefined load-scripts.php:3 Uncaught TypeError: Cannot 
   call method ‘go’ of undefined
 * I tried to read you code.
 * i disabled those lines and the html editor works again :
    wp_deregister_script(
   array(‘jquery’)); wp_enqueue_script(‘jquery’,[http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#8217](http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#8217););
 * is there any way to solve that problem ?
 * Thanks a lot
    El garch
 * [http://wordpress.org/extend/plugins/easyshare/](http://wordpress.org/extend/plugins/easyshare/)

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

 *  Plugin Author [mushtitude](https://wordpress.org/support/users/mushtitude/)
 * (@mushtitude)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830630)
 * Hi and thanks for sharing the problem.
 * Try to update the jQuery version with [http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js](http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js)
   in wp_enqueue_script
 * Hope this will help
 *  Thread Starter [stitox](https://wordpress.org/support/users/stitox/)
 * (@stitox)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830632)
 * 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](https://wordpress.org/support/users/stitox/)
 * (@stitox)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830639)
 * 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](https://wordpress.org/support/users/mushtitude/)
 * (@mushtitude)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830641)
 * 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’, ‘[http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#8217](http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#8217););
 * 2) Disable the 2 lines :
    wp_deregister_script(array(‘jquery’)); wp_enqueue_script(‘
   jquery’,[http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#8217](http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#8217););
 * 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](https://wordpress.org/support/users/stitox/)
 * (@stitox)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830648)
 * 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=”[http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script>&#8217](http://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.

 * ![](https://s.w.org/plugins/geopattern-icon/easyshare.svg)
 * [easyShare](https://wordpress.org/plugins/easyshare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easyshare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easyshare/)
 * [Active Topics](https://wordpress.org/support/plugin/easyshare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easyshare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easyshare/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [stitox](https://wordpress.org/support/users/stitox/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-easyshare-bug-with-wordpress-292/#post-2830648)
 * Status: resolved