Fatal error: Uncaught exception 'Exception' 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 p.status = 1 AND p2s.store_id = '0' GROUP BY op.product_id ORDER BY no_sel' at line 5<br />Error No: 1064<br />SELECT op.product_id, SUM(op.quantity) as no_sells FROM oc_order_product op LEFT JOIN oc_product p ON (op.product_id = p.product_id) LEFT JOIN oc_product_to_store p2s ON (op.product_id = p2s.product_id) WHERE op.product_id !='596' AND op.order_id IN (14186,14159,14158,14124,13988,13922,13901,13875,13825,13795,13764,13735,13695,13675,13660,13649,13557,13486,13260,13185,13110,13081,13070,13050,13030,12943,12923,12882,12850,12849,12832,12814,12757,12703,12667,12610,12506,12491,12489,12451,12385,12341,12224,12192,12109,12091,12054,12007,11971,11962,11865,11832,11803,11747,11681,11581,11569,11564,11550,11534,11484,11435,11392,11244,11233,11213,11211,11198,11027,10993,10979,10896,10766 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40