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 '2238,1976,1862,1869,1849,1847,1924,1877,1845,1930,1842,1960,1913,1893,1892,1891,' at line 1
in:
[select * from categories where categories_id in (,2238,1976,1862,1869,1849,1847,1924,1877,1845,1930,1842,1960,1913,1893,1892,1891,1886,1856)]