Invalid query: SELECT * FROM CatItems WHERE __id IN (80402,80540,86926,86925,86927,86928,86929,86930,86931,86932,4330,4639,43572,6198,52077,52156,52482,6624,6625,6626,52483,52484,52486,52487,52488,52489,52490,53633,39178,37374,69396,6075,3175,3176,36806,3645,36808,3646,1498,1499,1832,31734,31792,31900,1957,) AND Active=1
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 ') AND Active=1' at line 1