The SQL error !
select r.*,b.name,b.id from `hm_6300_brand_product_relat` r left join `hm_6300_brand` b on r.bid = b.id where `tid` = 135 and name != '' group by r.`bid` order by `hit` desc limit 10
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'new6300.r.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by