Query ErrorSELECT count(*) FROM fs_contents WHERE ( category_id = 5 OR category_id_wrapper like '%,5,%' ) AND published = 1 AND category_published = 1 ORDER BY ordering DESC, id DESC
Array ( [0] => 42000 [1] => 1140 [2] => Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause )