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

WordPress Trac noreply at wordpress.org
Fri Aug 4 02:17:21 UTC 2017


#39338: class-wp-hook.php - apply_filters() infinite loop
-------------------------------------------------+-------------------------
 Reporter:  frettled                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Plugins                              |  Release
 Severity:  normal                               |     Version:  4.7
 Keywords:  reporter-feedback needs-patch dev-   |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by dingdang):

 WP Version: 4.8.1

 Probably caused by: https://wordpress.org/plugins/wp-statistics/ (latest
 version)

 - Had 500K records in its table, causing (overloading and) process
 terminations by the web server:
 PHP Fatal error:  Maximum execution time of 30 seconds exceeded

 - PHP running as CGI

 - generated 120GB of error_log, repeating the following 3 lines

 PHP Warning:  next() expects parameter 1 to be array, null given in
 .../wp-includes/class-wp-hook.php on line 303, referer: .../wp-
 admin/index.php
 PHP Warning:  current() expects parameter 1 to be array, null given in
 .../wp-includes/class-wp-hook.php on line 287, referer: .../wp-
 admin/index.php
 PHP Warning:  Invalid argument supplied for foreach() in .../wp-includes
 /class-wp-hook.php on line 289, referer: .../wp-admin/index.php

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


More information about the wp-trac mailing list