Skip to:

Errors being thrown from bp-groups – possible bug??

  • groston


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar