Support the ongoing development of Laravel.io →
Bram Raaijmakers

Bram Raaijmakers

Joined 5 Jan 2017

Statistics

Threads 1
Replies 6
Solutions 1
Articles 0

Getting error when returning query to view (Trying to get property of non-object)

Hello, I'm trying to get the info from a specific user via a ID in the url. This is my route: Route:...

0 Likes
2 Replies
Solved
replied 9 years ago

Getting error when returning query to view (Trying to get property of non-object)

Thank you for your response I just fixed it using the query builder $userInfo = DB::table('users')-&...

0 Likes
Solved

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.

© 2026 Laravel.io - All rights reserved.