Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

This actually seems to be an issue with the version of Laravel. My local dev server was running 4.1.18 and the production 4.1.22. v4.1.22 is causing the error, but when I downgrade to 4.1.18 the error goes away. Is this a known issue in 4.1.22?

Last updated 2 years ago.
0

use ->get() method at last. $email = Email::with('recipient')->where('token', '=', $data['token'])->firstOrFail()->get();

or

use ->get() method at last. $email = Email::with('recipient')->where('token', '=', $data['token'])->first()->get();

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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.