Fatal error: Uncaught exception 'ErrorException' with message 'Error: 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 ') AND op.product_id != '54' GROUP BY op.model ORDER BY MaxVal DESC LIMIT 5' at line 3<br />Error No: 1064<br />SELECT DISTINCT op.model, p.product_id, op.name, p.image, p.price, ps.price as special, p.tax_class_id, Max(op.quantity) as MaxVal FROM oc_order_product op LEFT JOIN `oc_order` o ON (op.order_id = o.order_id) LEFT JOIN `oc_product` p ON (op.product_id = p.product_id) LEFT JOIN `oc_product_special` ps ON (p.product_id = ps.product_id) LEFT JOIN `oc_product_to_category` pc ON (op.product_id = pc.product_id) WHERE p.status = '1' AND o.order_status_id = '5' AND pc.category_id IN () AND op.product_id != '54' GROUP BY op.model ORDER BY MaxVal DESC LIMIT 5' in /home3/buyelzxy/public_html/buyelectric.com/system/database/mysqli.php:40 Stack trace: #0 /home3/buyelzxy/public_html/buyelectric.com/system/library/db.php in /home3/buyelzxy/public_html/buyelectric.com/system/database/mysqli.php on line 40