I’m trying to fetch all records from a database table using Post::all() . Strangely, it’s giving me a 500 error.
if I use a where clause like Post::where('id', 1)->get(), it works just fine. I checked the error log, but there’s nothing there
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I’m trying to fetch all records from a database table using Post::all() . Strangely, it’s giving me a 500 error.
if I use a where clause like Post::where('id', 1)->get(), it works just fine. I checked the error log, but there’s nothing there