Ошибка в SQL запросе:
SELECT p.*,p.url as product_url, CONCAT(c.parent_url,c.url) as category_url
FROM `aa_product` as p
LEFT JOIN `aa_category` c
ON c.id = p.cat_id
WHERE cat_id = 177 AND (product_type = 'module' OR product_type = 'unit' OR product_type = 'series') group by p.title ORDER BY p.sortExpression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'vivat_old.p.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by