Invalid argument supplied for foreach() in /home/****/public_html/wp-cron.ph
-
Hi
I am running WordPress 5.4.1 as a multisite
One of my three sites is returning an error to its server log file. The error is logged at variable intervals between 9 seconds and about a minute…
Invalid argument supplied for foreach() in /home/****/public_html/wp-cron.php on line 117
I took a look at Line 117 of wp-cron.php and it reads…
foreach ( $cronhooks as $hook => $keys ) {
Only one of my three sites has this error. I have tried disabling all network plugins and all of the site-specific ones (for the problem site), simultaneously. Fresh errors log errors appear after I have done this, so it does not seem to be plugin related.
I have also tried reconnecting Jetpack.
I see this error has appeared for others, but there doesn’t seem to be a solution.
I am completely stumped. I don’t know if this error is important, but I would love to fix it. Any ideas on what to try next?
Thanks!
- The topic ‘Invalid argument supplied for foreach() in /home/****/public_html/wp-cron.ph’ is closed to new replies.