Answer the question
In order to leave comments, you need to log in
Why does creocoder/yii2-nested-sets throw an error "treeAttribute" is false?
I added categories using creocoder/yii2-nested-sets , if you select a parent, then everything is added, if without a parent, then it gives this
Can not create more than one root when "treeAttribute" is false.
What's not tact?
I understand correctly that tree is needed so that there are several categories, and trees grow from them, and without it there will be only one main category, and the rest will be its children
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question