Preventing infinite loop causing "Maximum function nesting level of '100' reached" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Preventing infinite loop causing "Maximum function nesting level of '100' reached" (/showthread.php?tid=41288) |
Preventing infinite loop causing "Maximum function nesting level of '100' reached" - El Forum - 05-03-2011 [eluser]Webnet[/eluser] I'm getting this error on one of my pages and I'm unable to figure out where my loop is... I've played around with debug_backtrace but I don't know how to use it well enough to determine the cause of the issue (it also turns out to be VERY long). Any ideas on how I can improve my debugging of this issue? Code: Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\site.com\system\core\Common.php on line 328 Check out this post for more details and my solution... http://stackoverflow.com/questions/5877869/determine-problem-in-codeigniter-controller This brings up the question, why do I need this workaround? Preventing infinite loop causing "Maximum function nesting level of '100' reached" - El Forum - 05-03-2011 [eluser]InsiteFX[/eluser] In your controller add this line: Code: // Enable Profiler. InsiteFX Preventing infinite loop causing "Maximum function nesting level of '100' reached" - El Forum - 05-07-2011 [eluser]Webnet[/eluser] I did have this enabled, but it's a terminating error so I'm not able to see the output of the profiler. Preventing infinite loop causing "Maximum function nesting level of '100' reached" - El Forum - 05-08-2011 [eluser]InsiteFX[/eluser] PHP NET - Maximum function nesting error InsiteFX |