Opened 14 years ago
Closed 14 years ago
#4417 closed defect (bug) (fixed)
Fix notice in bp-groups-loader.php
| Reported by: | r-a-y | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.2 |
| Component: | Groups | Version: | 1.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
On lines 505-507 of bp-groups-loader.php:
https://buddypress.trac.wordpress.org/browser/tags/1.6/bp-groups/bp-groups-loader.php#L500
$count is not an object; it's actually an array.
This causes a "Trying to get property of non-object" notice.
Attached patch fixes this.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Just to further note, I experienced this notice when I'm logged in as a regular user with a group invite.