Support the ongoing development of Laravel.io →

sandervspl

Joined 3 Oct 2016

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

hasOne not working (undefined property: stdClass)

I have two tables users id | name images id | user_id User model class User extends Authenticatabl...

0 Likes
2 Replies
replied 7 years ago

hasOne not working (undefined property: stdClass)

bantawa04 said: try this: {{ $image->images->name }} Wait what? I don't understand what you...

0 Likes

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.