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 ')' at line 1

QUERY = SELECT MAX(price) AS price_max, MIN(price) AS price_min FROM CubeCart_cats_idx INNER JOIN CubeCart_inventory ON CubeCart_cats_idx.productId = CubeCart_inventory.productId WHERE CubeCart_cats_idx.cat_id IN (3,183,66,70,71,72,145,147,174,202,181,214,222,223,224,234,260,264,270,289,294,324,338,337,340,353,360) AND active='1' AND show_on_cat='1' AND CubeCart_inventory.man IN (261,)