[buddypress-trac] [BuddyPress Trac] #7580: PHP Warning: Illegal offset type in wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 734

buddypress-trac noreply at wordpress.org
Mon Aug 7 22:08:02 UTC 2017


#7580: PHP Warning:  Illegal offset type in wp-content/plugins/buddypress/bp-
activity/bp-activity-functions.php on line 734
-------------------------------+----------------------
 Reporter:  magland            |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  low                |   Milestone:
Component:  Activity           |     Version:
 Severity:  minor              |  Resolution:  invalid
 Keywords:  reporter-feedback  |
-------------------------------+----------------------
Changes (by r-a-y):

 * keywords:  needs-patch reporter-feedback => reporter-feedback
 * status:  new => closed
 * version:  2.9.0 =>
 * resolution:   => invalid
 * milestone:  Under Consideration =>


Comment:

 `$activity_type` is not meant to be an array.  The PHPDoc states
 `$activity_type` is meant to be a string.

 DJPaul is correct that it is probably a plugin causing the notices, as
 internally, we do not pass `$activity_type` as an array.

 Feel free to keep commenting, but going to close as invalid for now.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7580#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list