42000

SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'el-sale.product.product_id'; this is incompatible with sql_mode=only_full_group_by