[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 16:38:45 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:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Using WP 5.5 and PHP 7.4 producing masses of following Notice & Warnings
 on the Admin-Area (only):
 Notice: Trying to access array offset on value of type bool in /homepages
 /…/wp-admin/includes/class-wp-privacy-policy-content.php on line 96

 Notice: Trying to access array offset on value of type bool in /homepages
 /…/wp-admin/includes/class-wp-privacy-policy-content.php on line 97

 Warning: Cannot modify header information – headers already sent by
 (output started at /homepages/…/wp-admin/includes/class-wp-privacy-policy-
 content.php:96) in /homepages/../wp-admin/admin-header.php on line 9

 Line 96 & 97 says:
 ‘plugin_name’ => $data[‘plugin_name’],
 ‘policy_text’ => $data[‘policy_text’],

 testing without plugins & without my functions in functions.php. Also
 testing with Standart-Theme. No chance.
 The Warnings follwing the Notices....

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


More information about the wp-trac mailing list