Support the ongoing development of →
Blade Authentication Eloquent
Last updated by @ajax30 1 year ago.

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();

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

Razvan ajax30 Joined 2 Oct 2021


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.