[wp-trac] [WordPress Trac] #51196: PHP warning at every pageload form cron
WordPress Trac
noreply at wordpress.org
Mon Aug 31 08:36:35 UTC 2020
#51196: PHP warning at every pageload form cron
--------------------------+------------------------------
Reporter: opajaap | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses: performance
--------------------------+------------------------------
Comment (by dd32):
Hi @opajaap,
In this instance, `$cronhooks` should always be an array, it sounds like
you might have a corrupt cron storage option or plugin altering the cron
entries in a way that's incompatible with WordPress. While it could be
patched over by changing this line, it won't fix the underlying cause of
it
You might be able to debug it further by looking at the contents of the
`$crons` variable inside
[https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/cron.php#L887 wp_get_ready_cron_jobs()]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51196#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list