[wp-trac] [WordPress Trac] #64908: WordPress Core Warnings in Site Health (PHP 8.5.4 Compatibility Issue)

WordPress Trac noreply at wordpress.org
Thu Mar 19 21:09:34 UTC 2026


#64908: WordPress Core Warnings in Site Health (PHP 8.5.4 Compatibility Issue)
-----------------------------------------------+---------------------------
 Reporter:  tunyk                              |      Owner:  (none)
     Type:  defect (bug)                       |     Status:  new
 Priority:  normal                             |  Milestone:  Awaiting
                                               |  Review
Component:  Site Health                        |    Version:  6.9.4
 Severity:  normal                             |   Keywords:
  Focuses:  administration, php-compatibility  |
-----------------------------------------------+---------------------------
 System Environment:

 WordPress Version: 6.9.4

 PHP Version: 8.5.4 (upgraded from 8.3)

 Description:
 After upgrading the server from PHP 8.3 to PHP 8.5.4, I am experiencing UI
 and technical issues on the Site Health page (/wp-admin/site-
 health.php?tab=debug).

 Observed Issues:

 UI Glitch: The "Copy site info to clipboard" button is rendered
 incorrectly/distorted on the debug tab.

 PHP Warnings in Logs:

 PHP Warning: Undefined array key "value" in .../www/wp-admin/includes
 /class-wp-debug-data.php

 PHP Warning: Undefined array key "label" in .../www/wp-admin/site-health-
 info.php

 Troubleshooting performed:
 I have checked Query Monitor and the site error logs. No specific plugins
 were identified as the source of these errors; the "Component" column in
 Query Monitor consistently points to WordPress Core. It appears that the
 debug_data_to_text() or related functions in the core are attempting to
 access array keys that are not explicitly set, which PHP 8.5 now handles
 more strictly.

 Could you please investigate if this is a known compatibility issue with
 PHP 8.5 and if there is a recommended fix for these core files?

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


More information about the wp-trac mailing list