[buddypress-trac] [BuddyPress] #4417: Fix notice in bp-groups-loader.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 8 22:09:33 UTC 2012

#4417: Fix notice in bp-groups-loader.php
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  1.6
 Severity:  normal        |   Keywords:  has-patch
 On lines 505-507 of bp-groups-loader.php:

 $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.

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

More information about the buddypress-trac mailing list