Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mapworld_db.p.product_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Error No: 1055
SELECT *, pd.description AS product_description, pd.name AS name, p.image, m.name AS manufacturer, ss.name AS stock FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id) LEFT JOIN stock_status ss ON (p.stock_status_id = ss.stock_status_id) LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND pd.language_id = '1' AND ss.language_id = '1' AND p2c.category_id = '48' GROUP by pd.name ORDER BY pd.name ASC