500 | Internal Server Error | Exception

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 ') group by s.id limit 5' at line 1:select p.id,k.price_uah,s.title as seria_title,m.title as model_title,s.slug as seria_slug,m.slug as model_slug from product p join product_key pk on pk.product_id=p.id join seria s on p.seria_id=s.id join model m on p.model_id=m.id join keytab k on pk.key_id=k.id where p.category_id=2 and pk.product_id in () group by s.id limit 5

stack trace

symfony settings ...

request ...

response ...

user ...

global vars ...