Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'qrh067.ps_layered_category.id_layered_category' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT * FROM ps_layered_category WHERE id_category = 28 AND id_shop = 0 GROUP BY `type`, id_value ORDER BY position ASC