Closed aafaq146 closed 2 years ago
I'm getting this error even I tried to remove it from the code didn't detect changes? where I have to change
You have not configured correctly your model. $model->comments should always return a collection. It seems that you are missing a trait on your model Commentable
.
let me check
ohk fixed