[buddypress-trac] [BuddyPress Trac] #7920: Call to undefined function friends_delete_activity()

buddypress-trac noreply at wordpress.org
Mon Jul 9 19:42:48 UTC 2018

#7920: Call to undefined function friends_delete_activity()
 Reporter:  thejimmy      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Friends       |    Version:  3.0.0
 Severity:  normal        |   Keywords:
 I have encountered following (potential) bug.

 Use case:

 1. Enabled friends module
 2. Disabled Activity Streams module
 3. User A and User B are friends
 4. Either one of then cancels friedship. This results in call to function
 friends_remove_friend() in file buddypress/bp-friends/bp-friends-
 functions.php. This function executes call to function
 friends_delete_activity(). Hovewer this function is not defined, hence
 prudeces fatal error.

 Look like because of disabled Activity Streams module, file buddypress/bp-
 friends/bp-friends-activity.php where the missing function is does not get

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7920>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list