-
Notifications
You must be signed in to change notification settings - Fork 475
Closed
Description
Hello sir,
With the following code (regardless of what is inside the get()), I get a "Maximum function nesting level of '100' reached, aborting!" error:
$groups = ItemGroup::defaultOrder()->get(['name'])->toTree();
return $groups;
but this code works:
$groups = ItemGroup::defaultOrder()->get()->toTree();
return $groups;
The error appears to be a result of converting the tree to an array.
I've recenty updated Laravel to 4.2, and this issue also occurs with version 1.1. Perhaps I should stick with 4.1 for now?
Metadata
Metadata
Assignees
Labels
No labels