Skip to:

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#680 closed defect (bug) (fixed)

Friend Filter mySQL error

Reported by: trent's profile trent Owned by: apeatling's profile apeatling
Milestone: Priority: major
Severity: Version:
Component: Keywords:


While the results do show on a friend filter search, it generates the following error

WordPress database error 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 ') AND initiator_user_id = 1) OR (initiator_user_id IN () AND friend_user_id = 1)' at line 1 for query SELECT count(id) FROM wp_bp_friends WHERE (friend_user_id IN () AND initiator_user_id = 1) OR (initiator_user_id IN () AND friend_user_id = 1) made by BP_Friends_Friendship::search_friends

Change History (3)

#1 @trent
15 years ago

I have noticed that the odd time it will show "Your friends list is currently empty" and "Why not make friends with some of these members?" all of which are already friends

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1356]) Fixes #680

#3 @(none)
15 years ago

  • Milestone Friends 1.0 deleted

Milestone Friends 1.0 deleted

Note: See TracTickets for help on using tickets.