[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:26:41 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: Gallery | Version: 4.6
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
Good day!
After install plugin and l18n-files
- on wp-instance with localization
- in action "upgrader_process_complete"
- in function "wp_update_plugins"
I have got error 500. Because after call
\Language_Pack_Upgrader::bulk_upgrade
in function wp_json_encode put object with recursive references
Plugin_Upgrader -
- Plugin_Upgrader::skin = Plugin_Installer_Skin ->
- Plugin_Installer_Skin::updrader = Plugin_Upgrader ->
- Plugin_Upgrader::skin = Plugin_Installer_Skin ->
- Plugin_Installer_Skin::updrader = Plugin_Upgrader ->
- etc.
Note: plugin and l18n-files installed correctly.
For example, bbPress
{{{
( ! ) Fatal error: Maximum function nesting level of '256' reached,
aborting! in /home/user/www/wordpress/hdocs/wp-includes/functions.php on
line 2992
Call Stack
# Time Memory Function Location
1 0.0080 363840 {main}( ) .../update.php:0
2 81.0767 6660136 Plugin_Upgrader->install( ???, ??? )
.../update.php:137
3 81.0809 6664584 WP_Upgrader->run( ??? ) .../class-plugin-
upgrader.php:108
4 83.7245 6740016 do_action( ???, ???, ??? ) .../class-wp-
upgrader.php:791
5 321.2993 6844360 wp_update_plugins( ??? )
.../plugin.php:524
6 394.8101 6924264 wp_json_encode( ???, ???, ??? )
.../update.php:297
7 394.8102 6924640 _wp_json_sanity_check( ???, ??? )
.../functions.php:2900
8 394.8117 6932008 _wp_json_sanity_check( ???, ??? )
.../functions.php:2955
9 394.8121 6934424 _wp_json_sanity_check( ???, ??? )
.../functions.php:2955
10 394.8132 6941392 _wp_json_sanity_check( ???, ??? )
.../functions.php:2955
11 394.8136 6943808 _wp_json_sanity_check( ???, ??? )
.../functions.php:2955
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37731>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list