[buddypress-trac] [BuddyPress] #4100: SQL Issue in Friends requests

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Mar 28 15:39:40 UTC 2012


#4100: SQL Issue in Friends requests
--------------------------+-----------------------------
 Reporter:  arystark      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.5.4
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 I have some SQL Errors when I go to friend requests and if there are no
 pending requests :

 [28-Mar-2012 15:31:35] Erreur de la base de données WordPress You have an
 error in your SQL syntax; check the manual that corresponds to your MySQL
 server version for the right syntax to use near ')' at line 1 pour la
 requête SELECT COUNT(DISTINCT ID) FROM wp_users WHERE user_status = 0 AND
 ID IN (  )  faite par require, require_once, include, get_header,
 locate_template, load_template, require_once, do_action,
 call_user_func_array, bp_slide_login_panel, updateHeader, bp_has_members,
 BP_Core_Members_Template->__construct, BP_Core_User->get_specific_users

 [28-Mar-2012 15:31:35] Erreur de la base de données WordPress You have an
 error in your SQL syntax; check the manual that corresponds to your MySQL
 server version for the right syntax to use near ')  LIMIT 0, 1' at line 1
 pour la requête SELECT DISTINCT ID as id, user_registered, user_nicename,
 user_login, user_email FROM wp_users WHERE user_status = 0 AND ID IN (  )
 LIMIT 0, 1 faite par require, require_once, include, get_header,
 locate_template, load_template, require_once, do_action,
 call_user_func_array, bp_slide_login_panel, updateHeader, bp_has_members,
 BP_Core_Members_Template->__construct, BP_Core_User->get_specific_users

 My buddypress site is working but I see this error message in page trough
 another buddypress plugin.

 Thanks

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4100>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list