[wp-trac] [WordPress Trac] #50378: PHP Notice on lines 2303 and 2305 in class-wp-site-health.php

WordPress Trac noreply at wordpress.org
Fri Jun 12 18:28:57 UTC 2020


#50378: PHP Notice on lines 2303 and 2305 in class-wp-site-health.php
--------------------------+-----------------------------
 Reporter:  liedekef      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  5.4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 These lines pop up in my error logfile from time to time:

 [11-Jun-2020 20:32:04 UTC] PHP Notice:  Trying to access array offset on
 value of type int in /var/www/html/wordpress/wp-admin/includes/class-wp-
 site-health.php on line 2303
 [11-Jun-2020 20:32:04 UTC] PHP Notice:  Trying to access array offset on
 value of type int in /var/www/html/wordpress/wp-admin/includes/class-wp-
 site-health.php on line 2305

 Not a big issue, but I guess this deserves fixing.

 Franky

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


More information about the wp-trac mailing list