Support » Plugins and Hacks » Sharebar » Error with WordPress 3.5

  • I am getting this error on all posts when I updated to wordpress 3.5

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/68/8824068/html/opadventureteamcom/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/content/68/8824068/html/opadventureteamcom/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/68/8824068/html/opadventureteamcom/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/content/68/8824068/html/opadventureteamcom/wp-includes/wp-db.php on line 990

    http://wordpress.org/extend/plugins/sharebar/

Viewing 15 replies - 16 through 30 (of 39 total)
  • @drinks … the code change didn’t work me too, but when I deactivated the plugin and activated it back, it worked. (also if you have minify settings / caching plugins installed, you may need to clear cache).

    Hope that helps.

    Thanks e3mobile. It worked here as well.

    http://www.eggreef.com

    I’ve a problem with my wordpress 3.5

    when i need to put on the post some element of my gallery, the button doesnt work!!!!

    Somebody can help me? Thanks!

    Thanks e3mobile, worked perfectly!

    Shan

    (@shan-last-shreds-of-sanity)


    Yep, that fix worked for me, too. Just make sure you copy ALL the code. Don’t accidentally leave out a semi colon or you’ll get a fatal error.

    e3mobile that worked just fine for me @ http://socialbarrel.com. The only thing was the line’s you mentioned were different.

    thanks e3.

    @e3mobile Great tip. You also have to do this for sharebar-admin though or it will break in the back-end

    @e3mobile… Thanks for your tips. It really worked for me in my website http://www.ichinda.co.in.

    worked for me! thanks e3mobile!

    e3mobile for president!

    The fix from 3r mobile worked for me on the latest version on http://www.luxurybranded.com after getting errors.

    Thanks e3mobile, worked for me too

    Thanks for the quick fix @e3mobile. Always nice when something works!

    newcitiesfoundation

    (@newcitiesfoundation)


    Thanks you very much for the fix!

    lesentrepreneursduweb

    (@lesentrepreneursduweb)


    Bonjour

    Nous avons eu le même problème sur nos blogs.

    Pour remédier, nous avons modifié les ligne 112 et 124 du ichier sharebar.php

    Ligne 112
    $results =$wpdb->get_results($wpdb->prepare(“SELECT * FROM “.$wpdb->prefix.”sharebar WHERE enabled=1 ORDER BY position, id ASC”)); $str .= “\n”;

    Remplacer par :
    $results =$wpdb->get_results($wpdb->prepare(“SELECT * FROM “.$wpdb->prefix.”sharebar WHERE enabled=1 ORDER BY position, id ASC”, null)); $str .= “\n”;

    Ligne 124
    $results = $wpdb->get_results($wpdb->prepare(“SELECT * FROM “.$wpdb->prefix.”sharebar WHERE enabled=1 ORDER BY position, id ASC”)); $str .= “\n”;

    Remplacer par
    $results = $wpdb->get_results($wpdb->prepare(“SELECT * FROM “.$wpdb->prefix.”sharebar WHERE enabled=1 ORDER BY position, id ASC”, null)); $str .= “\n”;

    J’espère que tout ceci fonctionnera pour vous

    Nicolas

Viewing 15 replies - 16 through 30 (of 39 total)
  • The topic ‘Error with WordPress 3.5’ is closed to new replies.