WordPress.org

Ready to get started?Download WordPress

Forums

Sharebar
Error with WordPress 3.5 (40 posts)

  1. lesentrepreneursduweb
    Member
    Posted 1 year ago #

    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

  2. jewseboy
    Member
    Posted 1 year ago #

    thanks for the fix.

    If developers bring an update out to fix this problem, will I need to go back in and edit this code??

  3. PGrizz
    Member
    Posted 1 year ago #

    Thanks for the fix E3.

  4. jeffduyndam
    Member
    Posted 1 year ago #

    thanks for the fix e3

  5. VirtualRolf
    Member
    Posted 1 year ago #

    I also have problems with the Quick Fix.. :( too bad..

    Time for a update! :D

    Thanks developers!

  6. MegamanEXE
    Member
    Posted 1 year ago #

    Just here to thank e3mobile for the awesome fix. Many thanks!

  7. Milos Spasic
    Member
    Posted 1 year ago #

    Fix from e3mobile is working perfectly. Thanks.

  8. jasjotbains
    Member
    Posted 1 year ago #

    This code worked perfectly in WP 3.5, but somehow it isn't working for me in 3.5.1 :(

  9. jasjotbains
    Member
    Posted 1 year ago #

    It is causing a conflict with WP-Total Cache. My website is fitnessanddefense and I am using Mantra theme. Have disabled wp-tc till then

  10. Cartman
    Member
    Posted 1 year ago #

    Have any of you guys considered trying the Cevhershare plugin instead?

    It looks like a spin-off of Sharebar, but it's had a few updates (adding Google+ support, etc) and it's not exhibiting the errors that WordPress 3.5+ introduced to this plugin (before E3's fix).

    I'm trying to pick a pony in this race, but neither author seems really active with updates. :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.