[buddypress-trac] [BuddyPress Trac] #9010: PHP Fatal error: Uncaught TypeError: Illegal offset type in /buddypress/bp-activity/bp-activity-functions.php:798

buddypress-trac noreply at wordpress.org
Fri Nov 10 02:09:17 UTC 2023


#9010: PHP Fatal error: Uncaught TypeError: Illegal offset type in /buddypress/bp-
activity/bp-activity-functions.php:798
--------------------------------------+---------------------
 Reporter:  btwebdesign               |       Owner:  imath
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  12.0.0
Component:  Activity                  |     Version:  11.3.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13642" 13642]:
 {{{
 #!CommitTicketReference repository="" revision="13642"
 Make Activity loop reliable when post & activity comments are synced

 As the `$action` key of the `bp_has_activities()` function arguments array
 accepts a string, a boolean as well as an array, we need to make sure the
 `bp_blogs_new_blog_comment_query_backpat()` function doesn't trigger an
 error when an array of activity type is passed.

 Props btwebdesign, magland, teeboy4real

 Fixes #9010
 Closes https://github.com/buddypress/buddypress/pull/190
 }}}

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


More information about the buddypress-trac mailing list