I'm getting the above error, is there any built in support for a stack trade in code igniter? I have an infinite loop somewhere I'm trying to figure out where it is...
Asked
Active
Viewed 4,548 times
1
-
1Answered here: http://stackoverflow.com/questions/4293775/increasing-nesting-functions-calls-limit – lucifurious May 03 '11 at 02:39
-
1If CI replaces the default error handler and slurps up line number and filename, then reinstantiate a workaround with `set_error_handler("var_dump");` early in your script. Otherwise use the xdebug profiler. – mario May 03 '11 at 02:40
-
Better answer than mine! – Michael B May 03 '11 at 02:40
-
That only tells me how to increase it, I don't want to increase it, I want to find the loop – Ben May 03 '11 at 02:40
-
Sorry. The problem is you're probably using var_export() somewhere. It doesn't stop on infinite nested objects (which is common in some frameworks). Try using var_dump() or print_r() instead. – lucifurious May 03 '11 at 02:42
-
I'm not using var_dump, print_r or var_export anywhere – Ben May 03 '11 at 02:43
-
Have you tried my suggestion below? – Michael B May 03 '11 at 17:08
2 Answers
0
If you use hmvc, check if you have not loaded something in the wrong way, i.e, $this->load->module() instead of $this->load->model(). I faced the same issue and that was the cause of that message.

anfern
- 1
-
welcome to SO! Notice its a 10 years old question. Make sure the answer still relevent nowadays. – Vinícius Fagundes Jun 23 '21 at 03:32