Fatal error: Uncaught exception 'Exception' with message 'Ошибка выполнения SQL-запроса: select
`model` as `name`, `mid`, `alias_model` as `alias`
from
`__cm__kit` k
where
`cid` = 4 and `bid` = 6 and `alias_year` = "2017"
group by
`mid`
order by
`model` asc Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'cm_dbs.k.model' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by' in /srv/data/moto.carsmoto.ru/core/db.php:143
Stack trace:
#0 /srv/data/moto.carsmoto.ru/core/db.php(40): DB->query('select\r\n\t\t\t\t\t\t\t...')
#1 /srv/data/moto.carsmoto.ru/core/model.php(399): DB->select('select\r\n\t\t\t\t\t\t\t...', Array)
#2 /srv/data/moto.carsmoto.ru/packages/user/catalog.php(273): modelModels->getModelsBySet(Array)
#3 /srv/data/moto.carsmoto.ru/packages/user/catalog.php(37): Catalog->cyclesCatalog()
#4 /srv in /srv/data/moto.carsmoto.ru/core/db.php on line 143