Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mdp.t_legaturi_categorii.tlc_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by\r\nSELECT * FROM t_meta_categorii INNER JOIN t_legaturi_categorii ON tlc_c_id=mc_id WHERE mc_activ='1' AND tlc_activ='1' GROUP BY mc_id ORDER BY mc_ordine LIMIT 0,8 (2)