MySQL Error Occured
1064: 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 ') AND active='1' AND isPhotos='0' AND isNews='0'' at line 1

QUERY = SELECT DISTINCT CubeCart_cats_idx.productId, price_mefpa AS price, sale_price_mefpa AS sale_price, final_price FROM CubeCart_cats_idx INNER JOIN CubeCart_inventory ON CubeCart_cats_idx.productId = CubeCart_inventory.productId WHERE CubeCart_cats_idx.cat_id IN () AND active='1' AND isPhotos='0' AND isNews='0'