MySQL Error Occured
1064: 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 1

QUERY = SELECT CubeCart_inventory.productId, price FROM CubeCart_cats_idx INNER JOIN CubeCart_inventory ON CubeCart_cats_idx.productId = CubeCart_inventory.productId WHERE CubeCart_cats_idx.cat_id IN (254,352,348,349,382,343,344,345,373,406,357,371,391) AND active='1' AND isPhotos='0' AND isNews='0' )