On Oct 18, 11:53 am, Jeremy Burns <[email protected]> wrote:
> I have an app with 86 models and many associations. It has been
> working fine but when - for another project - I installed xdebug I
> started to get the "Fatal error: Maximum function nesting level of
> '100' reached, aborting!" message. Setting debug to 0 just rendered a
> blank page. Turning debug off let the app function again.
>
> Concerned that my app is fatally flawed, I loaded up the LazyLoading
> plugin which, to be fair, didn't seem to bring about any noticeable
> improvement other than it now runs when debug is enabled.
>
> Looking at similar posts I have checked and I'm happy that all of my
> model associations are set up correctly.
>
> So my general question is should I be concerned about this? Is there,
> in fact, something I should be worried about that could be throttling
> my app?  Where else should I look?

100 nested functions isn't that uncommon with abstraction etc. I'd
recommend using xdebug.max_nesting_level=200 - that gives you a means
to evaluate if it's a loop, poor coding or simply working as designed.

Cheers,

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to