开发者

Maximum function nesting level reached error in Drupal

开发者 https://www.devze.com 2023-02-13 07:32 出处:网络
I am working with Civicrm with Drupal. I created one custom import section. Whenever I submit mapped form it shows this kind of an error:

I am working with Civicrm with Drupal. I created one custom import section. Whenever I submit mapped form it shows this kind of an error:

Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\crmdev\includes\common.inc 开发者_开发知识库 on line 290

How can I fix this, and how to reset the nesting level?


If you are using xdebug extension
You can do this ini_set('xdebug.max_nesting_level', 200)

xdebug.max_nesting_level


Your code almost certainly has a bottomless recursion, but it's difficult to be sure without seeing the code.


Max nesting level is typically set by zend/xDebug, if infinite recursion occurs without those you will get a segfault instead, you should focus on fixing that infinite recursion instead ...

0

精彩评论

暂无评论...
验证码 换一张
取 消