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

seems to me like the you are using strict and it is throwing this exception because you are not setting ONLY_FULL_GROUP_BY mode on in database.php, so the query is working but can cause errors for certain cases. look at this https://mattstauffer.co/blog/strict-mode-and-other-mysql-customizations-in-laravel-5-2

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.