Query ErrorSELECT count(*) FROM fs_products as a WHERE (a.published = 1 AND a.status_prd < 4 and ( a.category_id_wrapper like '%,3,%' or a.multi_categories like '%,3,%' ) AND )
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3 )