Торти на ювілей

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 '2)) and translationId in (select pid from products_categories where cid in (-1,1' at line 1 in /home/mozar00/ Stack trace: #0 /home/mozar00/ PDO->prepare('SELECT COUNT(*)...') #1 {main} thrown in /home/mozar00/ on line 421