Ошибка

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 ') ORDER BY position LIMIT 100' at line 1
Query "SELECT * FROM `pages` WHERE (`owner`="1559") and (`type`="catalog") and (`active`="1") and `id` IN () ORDER BY position LIMIT 100"