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 !='1087' AND op.order_id IN (16849,16812,16797,16793,16780,16749,16744,16714,16635,16631,16596,16572,16522,16517,16515,16465,16366,16348,16344,16336,16316,16264,16127,16122,16099,16087,16085,16051,16036,15966,15949,15935,15884,15859,15854,15800,15765,15746,15710,15693,15683,15672,15647,15644,15633,15588,15507,15503,15481,15453,15398,15369,15364,15354,15346,15291,15243,15194,15078,15064,15054,14958,14901,14899,14811,14763,14733,14676,14647,14633,14475,14465,1444 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40