WordPress.org

Ready to get started?Download WordPress

Forums

WpToFacebook
[resolved] Problems with latest WP version (3.5) (5 posts)

  1. x3mgroup
    Member
    Posted 1 year ago #

    I get an error when create a new connection (this is the first connection)

    Warning: Missing argument 2 for wpdb::prepare(), called in /wp-content/plugins/wptofacebook/includes/Wptofb.php on line 264 and defined in /wp-includes/wp-db.php on line 990

    Would appreciate any help with this!

    Thanx in advance!

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

  2. x3mgroup
    Member
    Posted 1 year ago #

    OK people, i think i found the solution for this problem,
    WPTOFACEBOOK Plugin displays the following on top of the screen:
    Warning: Missing argument 2 for wpdb::prepare(), called in ../wp-content/plugins/wptofacebook/includes/Wptofb.php on line 264

    To solve this do the following
    replace line #264
    $results = $wpdb->get_results( $wpdb->prepare( $query ) );
    with the following
    $results = $wpdb->get_results( $wpdb->prepare( $query, $args=null ) );

    Solution to this issue was found at the following thread:
    "missing argument" errors in sidebar on WP 3.5 (posted by WhiteRockMike)

    This seems a pretty common issue with plugins that haven’t been updated for WP 3.5!
    see the post/comment Missing Argument 2 for wpdb::prepare()

  3. plastikaweb
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks a lot for your suport, I've just uploaded a new version of the plugin, hope it helps.
    Cheers!
    Carlos

  4. Ariel Duarte
    Member
    Posted 1 year ago #

    ok. and what happens with SSL connections?
    I can't get start on FBTab cause the appsURL is not a HTTPS protocol.
    help me please.
    https://www.facebook.com/juanangeljarapsd/app_567277693292087

  5. plastikaweb
    Member
    Plugin Author

    Posted 10 months ago #

    Ariel, you need to have a SSL server for your site. It's not a matter of the plugin, it's a facebook issue.
    Cheers,
    Carlos

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.