Opened 7 years ago
Closed 7 years ago
#7870 closed defect (bug) (fixed)
Groups - Fatal error when joining a group and when the Activity component is disabled
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1.0 | Priority: | normal |
Severity: | normal | Version: | 3.0.0 |
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
In r11924, I conditionally loaded the bp-groups-activity.php
file if the Activity component is active.
What I failed to check was the bp-groups-functions.php
file.
When joining a group, there is a call to groups_record_activity()
with no bp_is_active()
check. This causes a fatal error if the Activity component is disabled:
https://buddypress.org/support/topic/go-back-to-2-9-4-issues-with-3-0-0/#post-273490
😢
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Fixes a couple of other instances where groups_record_activity() is called.