[wp-trac] [WordPress Trac] #37731: Fatal error: Maximum function nesting level of '256' reached, aborting! in /home/user/www/wordpress/hdocs/wp-includes/functions.php on line 2992

WordPress Trac noreply at wordpress.org
Fri Aug 19 08:42:26 UTC 2016


#37731: Fatal error: Maximum function nesting level of '256' reached, aborting! in
/home/user/www/wordpress/hdocs/wp-includes/functions.php on line 2992
--------------------------+------------------------------
 Reporter:  maestrosite   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  administration
--------------------------+------------------------------
Changes (by Kenshino):

 * keywords:   => dev-feedback


Comment:

 Getting the max nesting level of '256' as well


 {{{
 2016/08/19 15:49:49 [error] 26513#26513: *79089 FastCGI sent in stderr:
 "PHP message: PHP Fatal error:  Maximum function nesting level of '256'
 reached, aborting! in /usr/share/nginx/html/client-name/public_html/wp-
 includes/functions.php on line 2992
 PHP message: PHP Stack trace:
 PHP message: PHP   1. {main}() /usr/share/nginx/html/client-
 name/public_html/wp-admin/admin-ajax.php:0
 PHP message: PHP   2. do_action() /usr/share/nginx/html/client-
 name/public_html/wp-admin/admin-ajax.php:91
 PHP message: PHP   3. wp_ajax_install_plugin() /usr/share/nginx/html
 /client-name/public_html/wp-includes/plugin.php:524
 PHP message: PHP   4. Plugin_Upgrader->install() /usr/share/nginx/html
 /client-name/public_html/wp-admin/includes/ajax-actions.php:3612
 PHP message: PHP   5. WP_Upgrader->run() /usr/share/nginx/html/client-
 name/public_html/wp-admin/includes/class-plugin-upgrader.php:108
 PHP message: PHP   6. do_action() /usr/share/nginx/html/client-
 name/public_html/wp-admin/includes/class-wp-upgrader.php:791
 PHP message: PHP   7. wp_update_plugins() /usr/share/nginx/html/client-
 name/public_html/wp-includes/plugin.php:524
 PHP message: PHP   8. wp_json_encode() /usr/share/nginx/html/client-
 name/public_html/wp-includes/update.php:297
 PHP message: PHP   9. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2900
 PHP message: PHP  10. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP  11. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP  12. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP  13. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP  14. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP  15. _wp_json_sanity_check() /usr/share/nginx
 2016/08/19 15:49:49 [error] 26513#26513: *79089 FastCGI sent in stderr:
 "client-name/public_html/wp-includes/functions.php:2955
 }}}

 followed by repeats of the sanity_check() call until it inadvertently
 fails


 {{{
 2016/08/19 15:50:38 [error] 26513#26513: *79089 FastCGI sent in stderr:
 "wp_json_sanity_check() /usr/share/nginx/html/client-name/public_html/wp-
 includes/functions.php:2955
 PHP message: PHP 205. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 206. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 207. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 208. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 209. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 210. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 211. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 212. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 213. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 214. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 215. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 216. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 217. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 218. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message: PHP 219. _wp_json_sanity_check() /usr/share/nginx/html
 /client-name/public_html/wp-includes/functions.php:2955
 PHP message:
 }}}

 I hit this by doing

 1. Go to Plugin Install Screen
 2. Click button to download and install WP Super Cache
 3. Queue Jetpack as well
 4. Wait for a while
 5. Admin notice displays Internal Server Error
 6. Refresh plugin install screen and WP Super Cache is installed, but
 Jetpack is not.

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


More information about the wp-trac mailing list