Backtrace

MYSQL QUERY ERROR

Query: SELECT count(*) as total FROM engio_shop_items i LEFT JOIN engio_shop_link l ON l.cat_position = i.id LEFT JOIN engio_shop_valute v ON v.code = i.price_val INNER JOIN engio_shop sh ON l.cat = sh.id WHERE ( i.pid IN() OR l.cat IN() ) AND i.view = 1 AND sh.view = 1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') OR l.cat IN() ) AND i.view = 1 AND sh.view = 1' at line 10