Support the ongoing development of →
posted 9 years ago
Last updated 1 year ago.

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.

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.

Sign in to participate in this thread!


Your banner here too?

Fed0t fed0t Joined 10 May 2014


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.