Support the ongoing development of Laravel.io →

webwizard02

Joined 20 Jul 2015

Statistics

Threads 0
Replies 2
Solutions 0
Articles 0

webwizard02 has not posted any threads yet

replied 9 years ago
0 Likes
replied 9 years ago

Undefined property: Illuminate\Database\Eloquent\Collection::$item

AndrewBNZ is right, all() will return a collection but since you used hasMany under User class in It...

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.