Query Error SELECT id,name,summary,image, created_time,category_id, category_alias, alias, price, price_old, discount, quantity FROM fs_products WHERE ( category_id = OR category_id_wrapper like "%,,%" ) AND published = 1 ORDER BY stock DESC , is_hot DESC, hits DESC LIMIT 0,20
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'OR category_id_wrapper like "%,,%" ) AND published = 1 ORDE' at line 3 )