WordPress.org

Forums

BP Multi Network
Warning : Missing argument 2 for wpdb::prepare()... [BP Multi Network] (4 posts)

  1. Thúlë Malta
    Member
    Posted 1 year ago #

    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/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    BP Multi-Network & BuddyPress Multi-Network are two different plugins. You've posted a thread in the support forum for the first one but are using the second one.

  3. Thúlë Malta
    Member
    Posted 1 year ago #

    I am using this one : http://buddydev.com/plugins/buddypress-multi-network/

    Can you help me ?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Can you help me ?

    I haven't used it at all. I answered the thread because I'm the author of BP Multi-Network.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Multi Network
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic