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

WordPress Trac noreply at wordpress.org
Fri Dec 21 18:16:16 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 mordisko):

 Hello,

 we are a hosting company and these behavior is happening on hundreds of
 our customer's sites every day. We are forced to delete the logs several
 times every day because some recent event triggered a lot of these
 failures. We'd simply like to check in and ratify that this is happening.

 What we've got so far:

  * `error_logs` are filled with warnings [1]. The size of these logs is
 prohibitively high.
  * Most of the entries on the logs are grouped by the thousands in the
 same timestamps (that means hour, minute and second).

 We did try to search for similar things amongst the installations and we
 did not come to a full, solid conclusion.

 Most of the sites are WP 4.0.9, a few of them are 5.0.x. Most of them are
 using the plugins "akismet" and "wordpress-seo". PHP versions are also
 varied, being most of them 5.6.

 If there's anything we can do, please, let us know.

 Kind regards,

 ----

 [1]:

 > [21-Dec-2018 06:55:25 UTC] PHP Warning: next() expects parameter 1 to be
 array, null given in /var/www/wp-includes/class-wp-hook.php on line 291
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: current() expects parameter 1 to
 be array, null given in /var/www/wp-includes/class-wp-hook.php on line 275
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: Invalid argument supplied for
 foreach() in /var/www/wp-includes/class-wp-hook.php on line 277
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: next() expects parameter 1 to be
 array, null given in /var/www/wp-includes/class-wp-hook.php on line 291
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: current() expects parameter 1 to
 be array, null given in /var/www/wp-includes/class-wp-hook.php on line 275
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: Invalid argument supplied for
 foreach() in /var/www/wp-includes/class-wp-hook.php on line 277
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: next() expects parameter 1 to be
 array, null given in /var/www/wp-includes/class-wp-hook.php on line 291
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: current() expects parameter 1 to
 be array, null given in /var/www/wp-includes/class-wp-hook.php on line 275
 >
 > [21-Dec-2018 06:55:25 UTC] PHP Warning: Invalid argument supplied for
 foreach() in /var/www/wp-includes/class-wp-hook.php on line 277
 >
 > [...]
 >

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


More information about the wp-trac mailing list