Answer the question
In order to leave comments, you need to log in
The Backpack for Laravel demo says "Please use CrudTrait on the model." - what to do?
Hello.
Installed the Backpack for Laravel demo. Installed, logged in, when trying to open the "Roles" or "Permissions" tab, it throws an exception 500: Please use CrudTrait on the model.
who has experience with Backpack for Laravel - tell me plz - this is its normal behavior (maybe some add-on is simply missing) - or did something go wrong?
Is it generally worth dealing with, if the problems already started at the demo stage?
Thank you.
Answer the question
In order to leave comments, you need to log in
It's simple: you need to register in the model use CrudTrait
. This trait will add the necessary methods to the model so that the Backpack can pull the data it needs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question