Support the ongoing development of Laravel.io →

firstplanb

Joined 20 Jul 2016

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

firstplanb has not posted any threads yet

replied 8 years ago

Can't access final model (posts) through hasManyThrough method, error "Call to undefined method Illuminate\Database\Query\Builder::posts()"

The join method worked for me. Here's how I did it, in case someone else has the same problem. https...

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.