Invalid query: SELECT * FROM CatItems WHERE __id IN (80416,80417,80418,80370,80372,43405,101155,101156,101099,10817,101100,101101,10818,101102,101103,101104,101105,101106,101107,101108,101109,101262,101263,101264,101265,101266,101267,41284,42866,44296,46570,46605,5535,48523,49612,49662,6142,50261,6215,6490,) 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