class-wp-hook.php generating errors, crashing server
-
Last week randomly we started encountering errors with class-wp-hook.php, no updates that I know of had been run, error log reads:
[01-May-2018 00:51:11 UTC] PHP Warning: array_keys() expects parameter 1 to be array, integer given in /public_html/wp-includes/class-wp-hook.php on line 271
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277This cascades on for several hundred lines before the server maxes IO and crashes with a 503 error. I have tried googling for similar errors for fixes but most people who have had a similar error haven’t had a repeating error like this and it usually pointed to a specific plugin. I am at a bit of a loss.
Thank you.
- The topic ‘class-wp-hook.php generating errors, crashing server’ is closed to new replies.