• Resolved serdominik

    (@serdominik)


    Hi, I found a bug in the latest version of the plugin 2.0.3
    in includes / Utilities / Background_Remove_Duplicate_Visibility_Meta.php

    to the row 141

    replace
    $sql = "DELETE FROM wp_postmeta WHERE post_id = %d AND meta_key = 'fb_visibility' AND meta_id != %d";
    with
    $sql = "DELETE FROM {$wpdb->postmeta} WHERE post_id = %d AND meta_key = 'fb_visibility' AND meta_id != %d";

    best regards
    Domenico S.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, its a bug.
    I have the same error when you modify the prefix database table.

    Thanks for your solution.

    Great ! Thanks for the share, I’had the same problem !

    Facebook pleased, check your code before update ! OK you are a small entreprise ??

    Hi @serdominik @achuwoky and @lull,

    Thanks so much for reaching out and sharing this with us! It has been a few days since this topic was started, so I’m guessing that you’ve all already updated the Facebook plugin. This issue was fixed in 2.0.4 and we’ve also released 2.0.5 since then.

    Would you all please make sure that you’ve updated to the latest version of the plugin, where this issue has been fixed?

    Thanks,
    Marcus

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix bug Remove duplicate visibility meta’ is closed to new replies.