Hello!

I just tried to update my Views 7.x-3.5 to version 7.x-3.6 and the following Fatal error appeared:

Fatal error: Maximum function nesting level of '100' reached, aborting! in ....\includes\bootstrap.inc on line 2785

I tried in my wamp local server, and I changed my memory and nesting resource level to these values, but the same error stills and its like it is not taking the new nesting level of 500

max_input_nesting_level = 500
memory_limit = 2048M

Does anyone how to sort this out?

Comments

hozt’s picture

I am also having this same issue. Increasing the amount of memory to php did not solve the issue. Rolling back to an earlier version of views solved the problem.

Here is the error that was in my logs:

PHP Fatal error: Allowed memory size of 2365587456 bytes exhausted (tried to allocate 9 bytes) in /home/webuser/web/includes/bootstrap.inc on line 1525

dawehner’s picture

urgs. Have you figured out which view causes this problem? Once you have managed to find it, please post an export of the view here.

gausarts’s picture

Just looked for the same solution. This helps me:

In my case I have xdebug and webgrind installed, and adding the following to php.ini fixes the issue.
xdebug.max_nesting_level = 200

esmerel’s picture

Status: Active » Postponed (maintainer needs more info)
alesr’s picture

Same error, but in my case even xdebug.max_nesting_level set to 500 doesn't help.

Maybe it is not event related with views. I disabled views

drush dis views 
The following extensions will be disabled: views, views_bulk_operations, admin_views, chart_views, date_views, og_ui, views_content,  views_arguments_extras, views_calc, views_field_view, views_infinite_scroll, views_slideshow, views_slideshow_cycle, views_ui
Do you really want to continue? (y/n): y

and tried to visit the page where I get this WSOD (with error about nesting in error.log) and I still get this error!

mhamed’s picture

ok
here the same problem with wamp server on localhost
php5.4
omega subthemimg
drupal7.22
thanks a lot solved with adding the code to php.ini
xdebug.max_nesting_level = 200
evenif there is no code on php.ini that says 100 as it is printed on the error page

valery86’s picture

That worked for me too!

Thanks a lot!

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Issue is fixed for the original author. Closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

cutesquirrel’s picture

Issue summary: View changes

FYI, I also had this issue due to my memcached server which was unreachable.
Hope this helps

kingfisher64’s picture

#3 worked for me. thanks

waqarit’s picture

#3 has solved my problem. thanks