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='874' OR b.category_id IN (1571,1572,1574,1573,1575,1576,1577,1578,1580,1579,2324,1581,1582,1583,2267,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,2374,1594,1596,1595,2320,1597,1598,1599,1600,1601,1602,1603,1604,1605,1607,1606,1047,1608,1609,1610,1611,1612,2330,1613,2283,1614,2420,1615,1616,2288,2280,1617,1618,1619,2276,1620) )
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