1055: Expression #28 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hdwallpapersfun_pics.b.category_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by<br />SELECT a.*, b.* FROM `ws_items` a, `ws_items_categories` b, `ws_categories` c
WHERE c.id=b.category_id AND b.item_id=a.id AND (b.category_id='16' OR b.category_id IN (636,637,638,639,640,451,641,642,643,644,1515,645,1513,646,647,648,113,1196,649,44,967,650,1512,651,652,2394,653,1520,311,915,654) )
AND c.`enabled`=1 AND a.`enabled`=1 AND a.`visible`=1 GROUP BY a.id order by a.`created` DESC limit 0,16
error