1055 Expression #42 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'versotea_zb78zb.p2c.categories_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
[select distinct * FROM products p left join manufacturers m on (p.manufacturers_id = m.manufacturers_id) left join products_to_categories p2c on p.products_id = p2c.products_id left join products_description pd on p.products_id = pd.products_id WHERE p.products_status = 1 AND pd.language_id = 1 GROUP BY p.products_id ]