• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preventing infinite loop causing "Maximum function nesting level of '100' reached"

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?

Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\Program Files (x86)\EasyPHP-\www\site.com\system\core\Common.php on line 328

Check out this post for more details and my solution... http://stackoverflow.com/questions/58778...controller

This brings up the question, why do I need this workaround?

In your controller add this line:
// Enable Profiler.
You can also trun on logging in application/config/config.php


I did have this enabled, but it's a terminating error so I'm not able to see the output of the profiler.

PHP NET - Maximum function nesting error


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.