Database query failed: 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 p.id' at line 1
Last SQL query: SELECT p.id FROM `shop_products` p LEFT JOIN shop_productoptions o ON o.product = p.id LEFT JOIN shop_formats f ON f.id = o.format WHERE p.active = 1 AND f.media IN () GROUP BY p.id