Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'blacksh_store.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 = 21
				AND id_shop = 0
			GROUP BY `type`, id_value ORDER BY position ASC