10

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?

halfer
20.1k19 gold badges110 silver badges207 bronze badges
asked Feb 24, 2011 at 10:10

3 Answers 3

45

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

xdebug.max_nesting_level

answered Feb 24, 2011 at 10:25
3
4

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

answered Feb 24, 2011 at 10:22
1

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 ...

answered Feb 24, 2011 at 10:24
1
  • Yeah, xdebug is causing this notice, but without xdebug it would be worse. Try to fix it, xdebug will help to pinpoint the exact issue. Commented Aug 9, 2011 at 12:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.