[wp-trac] [WordPress Trac] #55280: Unsupported operand types in Site Health

WordPress Trac noreply at wordpress.org
Tue Mar 1 09:30:26 UTC 2022


#55280: Unsupported operand types in Site Health
---------------------------------------+-----------------------------
 Reporter:  lw5                        |      Owner:  (none)
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Site Health                |    Version:  5.9.1
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 I get the following error:

 AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError:
 Unsupported operand types: string - int in [..]/wp-admin/includes/class-
 wp-site-health.php:2521
 Stack trace:
 0 [..]/wp-admin/includes/class-wp-site-health.php(1728):
 WP_Site_Health->has_missed_cron()
 1 [..]/wp-admin/includes/class-wp-site-health.php(192):
 WP_Site_Health->get_test_scheduled_events()
 2 [..]/wp-admin/includes/class-wp-site-health.php(137):
 WP_Site_Health->perform_test()
 3 [..]/wp-includes/class-wp-hook.php(307):
 WP_Site_Health->enqueue_scripts()
 4 [..]/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
 5 [..]/wp-includes/plugin.php(474): WP_Hook->do_action()
 6 [..]/wp-admin/admin-header....', referer: https://[..]/wp-admin/

 This is on a WordPress 5.9.1 multisite running on PHP 8.0.13 which was
 just upgraded from WP 5.5.8/PHP 7.3.33.

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


More information about the wp-trac mailing list