Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60388


Ignore:
Timestamp:
01/30/2024 10:14:11 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60388

    • Property Component GeneralSite Health
  • Ticket #60388 – Description

    initial v1  
    11Hello,
    22
    3 Con you help me to fix this problem (see below). I tried several fixes bu none worked...
     3Can you help me to fix this problem (see below). I tried several fixes but none worked...
    44Thanks
    55JP Fernandes
    66
    7 
    8 Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /home/jptferna/public_html/wp-admin/includes/class-wp-site-health.php:2985 Stack trace: #0 /home/jptferna/public_html/wp-admin/includes/class-wp-site-health.php(1764): WP_Site_Health->has_missed_cron() #1 /home/jptferna/public_html/wp-admin/includes/class-wp-site-health.php(194): WP_Site_Health->get_test_scheduled_events() #2 /home/jptferna/public_html/wp-admin/includes/class-wp-site-health.php(139): WP_Site_Health->perform_test() #3 /home/jptferna/public_html/wp-includes/class-wp-hook.php(324): WP_Site_Health->enqueue_scripts() #4 /home/jptferna/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/jptferna/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/jptferna/public_html/wp-admin/admin-header.php(118): do_action() #7 /home/jptferna/public_html/wp-admin/site-health.php(96): require_once('/home/jptferna/...') #8 {main} thrown in /home/jptferna/public_html/wp-admin/includes/class-wp-site-health.php on line 2985
     7{{{
     8Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /.../wp-admin/includes/class-wp-site-health.php:2985
     9Stack trace: #0 /.../wp-admin/includes/class-wp-site-health.php(1764): WP_Site_Health->has_missed_cron()
     10#1 /.../wp-admin/includes/class-wp-site-health.php(194): WP_Site_Health->get_test_scheduled_events()
     11#2 /.../wp-admin/includes/class-wp-site-health.php(139): WP_Site_Health->perform_test()
     12#3 /.../wp-includes/class-wp-hook.php(324): WP_Site_Health->enqueue_scripts()
     13#4 /.../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
     14#5 /.../public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
     15#6 /.../wp-admin/admin-header.php(118): do_action()
     16#7 /.../wp-admin/site-health.php(96): require_once('/.../...')
     17#8 {main} thrown in /.../wp-admin/includes/class-wp-site-health.php on line 2985
     18}}}