[buddypress-trac] [BuddyPress Trac] #8264: PHP 7.4 "trying to access..." errors

buddypress-trac noreply at wordpress.org
Sat Mar 28 20:27:20 UTC 2020


#8264: PHP 7.4 "trying to access..." errors
--------------------------+---------------------
 Reporter:  boonebgorges  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.0.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------

Comment (by boonebgorges):

 In [changeset:"12598" 12598]:
 {{{
 #!CommitTicketReference repository="" revision="12598"
 Fix PHP notice in BP_Activity_Activity test.

 The `$comments` variable is already an array of ints, so `wp_list_pluck()`
 is
 not needed. Changes in PHP 7.4 surface an error when used like this.

 See #8264.
 }}}

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


More information about the buddypress-trac mailing list