Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#50378 closed defect (bug) (duplicate)

PHP Notice on lines 2303 and 2305 in class-wp-site-health.php

Reported by: liedekef's profile liedekef Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4.2
Component: Site Health Keywords:
Focuses: Cc:

Description

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

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

Thanks for the report, this is already fixed as of WordPress 5.4.2 in [47931] / #49943.

Note: See TracTickets for help on using tickets.