WordPress.org

Support

Support » Plugins and Hacks » Warning : Missing argument 2 for wpdb::prepare()… [BP Multi Network]

Warning : Missing argument 2 for wpdb::prepare()… [BP Multi Network]

  • I am using WordPress Multisite.

    I have a problem : with others themes than Twenty Thirteen, an error appear in a site BuddyPress network : [Link]

    Warning: Missing argument 2 for wpdb::prepare(), called in /dns/in/olympe/ysn/wp-content/plugins/buddypress-multi-network/hooks.php on line 132 and defined in /dns/in/olympe/ysn/wp-includes/wp-db.php on line 992

    Here is the “line 132” of hooks.php :
    $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(ID) FROM $wpdb->users WHERE {$status_sql} and ID IN {$list}" ) );
    I have enabled BP_ENABLE_MULTIBLOG.
    I have BP Multi Network.
    In other cases, Activity page works perfectly.

    Can you help me ?

    PS : Sorry for my bad english, I am French.

    http://wordpress.org/plugins/bp-multi-network/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning : Missing argument 2 for wpdb::prepare()… [BP Multi Network]’ is closed to new replies.