Support the ongoing development of Laravel.io →

prasanthbpillai

Joined 13 Apr 2015

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Eloquent ORM: Eager Loading Error: 'Call to a member function addEagerConstraints() on a non-object'

Unit Model: namespace App\Models\Qualification; use Illuminate\Database\Eloquent\Model; class Unit...

0 Likes
2 Replies
Solved
replied 8 years ago

Eloquent ORM: Eager Loading Error: 'Call to a member function addEagerConstraints() on a non-object'

Ignore this. I was able to solve this. RETURN was missing in the models. prasanthbpillai said: Unit...

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.

© 2024 Laravel.io - All rights reserved.