Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions

[RESOLVED]Fatal error: Maximum function nesting level of '200' reached, aborting!


Reply

4 Posts   1086 Views

Avatar
JonnyCash

18 April 2013 at 8:37pm Community Member, 4 Posts

Hi,

I was doing my website on yesterday and all was fine, but this morning when i reloaded the admin page, i got this fatal error.
I checked on some forums but i can't find the reason why.
I'm new on Silverstripe and the only thing that comes up on my mind is maybe my classes relationships are bad...but it was working so i don't understand.
Did anybody have the same situation ?

Avatar
Willr

20 April 2013 at 2:41pm Forum Moderator, 5511 Posts

Sounds like you have a recursive function going on (A calls B which calls A). Your best bet is to look at the error - does it contain any file paths for where the recursion starts? If not, you might have to work through your latest changes to the application to see what could have caused that.

Avatar
JonnyCash

21 April 2013 at 8:35pm Community Member, 4 Posts

Yes! i had "myclass extends myclass" which gave me this beautiful message error. My bad... Thanks for your reply :)

Avatar
neilcreagh

21 February 2014 at 10:52pm (Last edited: 24 February 2014 11:55pm), Community Member, 94 Posts

EDITED: The next dev/build Flush fixed this. I'm getting something similar, a huge error message starting with: Fatal error: Maximum function nesting level of '200' reached, aborting! in /public_html/framework/dev/Deprecation.php on line 82 Call Stack: 0.0008 274496 1. {main}() /public_html/framework/main.php:0 0.0038 359832 2. ErrorControlChain->execute()...
Nothing unusual in my site set-up, but I am using the Forum module and DMS module - anyone have any similar issues with either of these?