21294 Posts in 5734 Topics by 2602 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
3 May 2011 at 9:31pm
if I add ?flush=all to my URLS it results in:
[Tue May 03 11:26:38 2011] [error] [client xx.xx.xx.xx] PHP Fatal error: Maximum function nesting level of '100' reached, aborting! in /var/www/domain.com/sapphire/core/model/DataObjectSet.php on line 1041
The stack trace has more than 100 items.
3 May 2011 at 9:58pm
do you have dataobjects that have a circular relationship?
obj1 has_one obj2
obj2 has_many obj3
obj3 has_one obj1
3 May 2011 at 10:32pm
yes I have such relations ...
3 May 2011 at 10:36pm
I'd try removing it (temporarily) and see if that is causing it. I've had trouble with ModelAdmin when the DataObjects are being scaffolded that with relationships like these... in some cases I've just had to hardcoded the odd has_one as TableID and avoid using the $obj->Table(), and instead always do a DataObject::get_by_id
3 May 2011 at 10:37pm
ok & thx for that infos.
|Go to Top|