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 !='810' AND op.order_id IN (17483,16685,16666,16573,16479,16409,16352,16290,16109,15870,15776,15699,15686,15673,15516,15392,15345,15332,15237,15208,15148,15032,15013,15010,14943,14901,14876,14808,14784,14738,14726,14713,14693,14641,14629,14595,14573,14562,14557,14533,14507,14484,14352,14337,14324,14249,14223,14169,14123,14119,14020,13971,13872,13850,13801,13746,13724,13584,13510,13504,13442,13329,13272,13250,13242,13211,13197,13090,12801,12744,12646,12607,12593 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40