Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The error occurs because the NestedSetsBehavior behavior does not allow inserting an entity (in this category example) without first calling a modifier method from that behavior (For example: makeRoot() or prependTo()). Without this, it is not clear what place in the tree structure the new category will occupy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question