#7920 closed defect (bug) (fixed)
Call to undefined function friends_delete_activity()
Reported by: | thejimmy | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 3.2.0 | Priority: | normal |
Severity: | normal | Version: | 3.0.0 |
Component: | Friends | Keywords: | has-patch commit |
Cc: |
Description
Hello,
I have encountered following (potential) bug.
Use case:
- Enabled friends module
- Disabled Activity Streams module
- User A and User B are friends
- 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 loaded.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks for the report, @thejimmy.
01.patch
should fix this. A temporary workaround is to remove the call tofriends_delete_activity()
.