[wp-trac] [WordPress Trac] #39338: class-wp-hook.php - apply_filters() infinite loop
WordPress Trac
noreply at wordpress.org
Mon Dec 17 16:50:36 UTC 2018
#39338: class-wp-hook.php - apply_filters() infinite loop
--------------------------+-----------------------------
Reporter: frettled | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 4.7
Severity: critical | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by getithappening):
* severity: normal => critical
Comment:
Hi, I've just come across this forum while trying to work out why my WP
error log is filling over 9 GB every day and cutting off my email.
Here are some of the error messages I'm getting:
PHP Warning: array_keys() expects parameter 1 to be array, integer given
in /home/***/public_html/wp-includes/class-wp-hook.php on line 271
PHP Warning: current() expects parameter 1 to be array, null given in
/home/***/public_html/wp-includes/class-wp-hook.php on line 275
PHP Warning: Invalid argument supplied for foreach() in
/home/***/public_html/wp-includes/class-wp-hook.php on line 277
PHP Warning: next() expects parameter 1 to be array, null given in
/home/***/public_html/wp-includes/class-wp-hook.php on line 291
There doesn't seem to be a solid fix for this, but I can't keep deleting
my error log every day. I have other websites that don't have these
issues, and the lines of code listed here that have errors are identical
to the lines of code on the websites that do not have errors. So I'm at a
loss.
Any help would be greatly appreciated.
Thanks,
Steve
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39338#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list