Expression #25 of SELECT list is not in GROUP BY clause and contains nonaggregated column '' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT (*(3+33)*(6+168596337314))%1000 sortid,, m.firmname, m.fname, m.lname, m.address, m.pincode, m.estdyear,,, m.fax,,, m.logo, m.brands, m.tags, m.products, m.details, m.dateadded, m.lastupdate, m.path, m.totalview, m.totalinquiry, m.totalclick, catid, c.catname, c.path catpath, subcatid, sc.subcatname, sc.path subcatpath, con.countrycode, con.countryname, s.statename, d.distname, ct.areacode, ct.cityname FROM member m LEFT JOIN member_trans mt ON mt.memberid = LEFT OUTER JOIN categories c ON = mt.catid LEFT OUTER JOIN subcategories sc ON = mt.subcatid LEFT OUTER JOIN city ct ON = m.cityid LEFT OUTER JOIN district d ON = ct.distid LEFT OUTER JOIN state s ON = d.stateid LEFT OUTER JOIN country con ON = s.countryid WHERE c.path = 'pumps' AND sc.path = 'self-priming-pumps' GROUP BY ORDER BY sortid LIMIT 0,10