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 !='508' AND op.order_id IN (11108,11107,11106,11080,11002,10969,10960,10932,10907,10865,10861,10830,10820,10814,10748,10727,10716,10674,10662,10656,10651,10631,10621,10579,10567,10565,10543,10524,10513,10512,10496,10411,10370,10369,10353,10350,10340,10327,10322,10311,10304,10257,10175,10169,10138,10129,10049,10034,10022,9998,9997,9991,9976,9961,9909,9875,9852,9816,9785,9740,9721,9687,9686,9679,9676,9665,9588,9550,9529,9494,9493,9472,9451,9439,9421,9370,9317,930 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40