[wp-trac] [WordPress Trac] #51084: „Trying to access array offset on value of type bool“ in "/wp-admin/includes/class-wp-privacy-policy-content.php on line 96 & 97“

WordPress Trac noreply at wordpress.org
Thu Aug 20 20:11:34 UTC 2020


#51084: „Trying to access array offset on value of type bool“ in "/wp-
admin/includes/class-wp-privacy-policy-content.php on line 96 & 97“
----------------------------------+--------------------------------------
 Reporter:  treibstoff            |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Privacy               |     Version:  5.5
 Severity:  normal                |  Resolution:
 Keywords:  needs-privacy-review  |     Focuses:  administration, privacy
----------------------------------+--------------------------------------

Comment (by treibstoff):

 this is from an older ticket:

 „PHP 7.4 introduces a „Trying to access array offset on value of type …“
 warning for accessing null/bool/int/float/resource (everything but array,
 string and object) as if it were an array.“
 and
 „I expect more issues to be reported – both in Core as well as in plugins
 and themes – once PHP 7.4 is out and starting to be used for real.“

 [https://core.trac.wordpress.org/ticket/47704]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51084#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list