Support the ongoing development of Laravel.io →
posted 9 years ago
Database
Last updated 1 year ago.
0

There's likely something wrong with the query, so it's not returning an object. You should probably be passing the variables in as a prepared statement, for one. Hopefully someone else can expand on that.

Last updated 1 year ago.
0

Try removing the ->get() at the end. Also try returning it like that:

return View::make('list')->with('data', $data);

If the problems still continues, var _dump the $data and post the result so we have some more info

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Fed0t fed0t Joined 10 May 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.