Group by not working – Laravel

Edit your applications’s database config file config/database.php

In mysql array, set strict => false to disable MySQL’s strict mode

Leave a Comment