What causes this bug? it seems like the comments section doesn't have array/collector data.
What is the easiest fix? Just use the get method to make it happen
$comments = Comment::where('article_id', $article->id)->orderBy('id', 'desc')->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community