[wp-trac] [WordPress Trac] #60388: WordPress Core error message in my Website

WordPress Trac noreply at wordpress.org
Tue Jan 30 22:14:11 UTC 2024


#60388: WordPress Core error message in my Website
--------------------------+------------------------------
 Reporter:  JPTF          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Site Health   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Site Health


Old description:

> Hello,
>
> Con you help me to fix this problem (see below). I tried several fixes bu
> none worked...
> Thanks
> JP Fernandes
>

> 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

New description:

 Hello,

 Can you help me to fix this problem (see below). I tried several fixes but
 none worked...
 Thanks
 JP Fernandes

 {{{
 Fatal error: Uncaught TypeError: Unsupported operand types: string - int
 in /.../wp-admin/includes/class-wp-site-health.php:2985
 Stack trace: #0 /.../wp-admin/includes/class-wp-site-health.php(1764):
 WP_Site_Health->has_missed_cron()
 #1 /.../wp-admin/includes/class-wp-site-health.php(194):
 WP_Site_Health->get_test_scheduled_events()
 #2 /.../wp-admin/includes/class-wp-site-health.php(139):
 WP_Site_Health->perform_test()
 #3 /.../wp-includes/class-wp-hook.php(324):
 WP_Site_Health->enqueue_scripts()
 #4 /.../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
 #5 /.../public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
 #6 /.../wp-admin/admin-header.php(118): do_action()
 #7 /.../wp-admin/site-health.php(96): require_once('/.../...')
 #8 {main} thrown in /.../wp-admin/includes/class-wp-site-health.php on
 line 2985
 }}}

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60388#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list