[buddypress-trac] [BuddyPress Trac] #7910: Errors being thrown from bp-groups

buddypress-trac noreply at wordpress.org
Mon Jul 2 16:34:26 UTC 2018


#7910: Errors being thrown from bp-groups
--------------------------+-----------------------------
 Reporter:  groston       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  2.9.3
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 I found a number of error messages of the type:

 PHP Notice: Trying to get property of non-object in /var/www/html/wp-
 content/plugins/buddypress/bp-groups/bp-groups-template.php on line xxx

 in the site’s debug.log file. In each case, the object that does not exist
 is $group and the errors occurred when a new group was being created.
 Though I am a true PHP/WordPress novice, to me, this feels like a bug. It
 seems that the routines in which these lines of code exist expect to get a
 group data object from the database, i.e., an existing group, but before
 the group is stored to the database, the object is empty.

 If this notion is correct, this bug should be fixed.

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


More information about the buddypress-trac mailing list