Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'auuecom2_boxbanner.com.br.bad_ads.url1' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

select bad_ads.user,bad_ads.url1,bad_ads.url2,bad_ads.url3,bad_ads.ad_n,bad_ads.size,bad_ads.text1 as title,bad_ads.text1,bad_ads.text2,bad_ads.text3,bad_ads.text4,bad_ads.text5,bad_ads.text6,bad_ads.text7,bad_ads.text8,bad_ads.text9,bad_ads.text10 from bad_ads,bad_n_ad where bad_ads.size = '1' and bad_ads.url1 != '' and bad_ads.text1 != '' and bad_ads.size = bad_n_ad.size and bad_ads.ad_n = bad_n_ad.ad_n and bad_ads.user = bad_n_ad.user and bad_n_ad.accept = 1 and bad_n_ad.approv = 1 and bad_n_ad.enabl = 1 and bad_n_ad.suspended = 0 group by bad_ads.user,bad_ads.size,bad_ads.ad_n