[wp-trac] [WordPress Trac] #39338: class-wp-hook.php - apply_filters() infinite loop

WordPress Trac noreply at wordpress.org
Mon Dec 31 12:03:59 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:
--------------------------+-----------------------------

Comment (by pinchies):

 I have the same error on my personal blog. On my log, it looks like it
 only started in October.

 WordPress 4.9.8
 PHP 5.3

 [08-Oct-2018 03:40:32 UTC] 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
 [08-Oct-2018 03:40:32 UTC] PHP Warning:  current() expects parameter 1 to
 be array, null given in /home/***/public_html/wp-includes/class-wp-
 hook.php on line 275
 [08-Oct-2018 03:40:32 UTC] PHP Warning:  Invalid argument supplied for
 foreach() in /home/***/public_html/wp-includes/class-wp-hook.php on line
 277

 (home directory masked for privacy)

 788MB, but hey, who's counting? It only took my website completely offline
 after the disk filled up, nothing serious.


 Fortunately, its only a blog and not a mission critical website. I'm happy
 to provide a zip or even temporary login details to anyone who wants to
 have a poke if that might help things be diagnosed more rapidly. You can
 contact me at my username at google's email service dot company.

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


More information about the wp-trac mailing list