order by clause is not

  1. baltun

    Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column в Laravel

    Решение оказалось такое заходим config\database.php --> "mysql" Находим: 'mysql' => [ ... .... 'strict' => true, 'modes' => [ //'ONLY_FULL_GROUP_BY', // Disable this to allow grouping by one column 'STRICT_TRANS_TABLES'...
Назад
Верх Низ