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 !='674' AND op.order_id IN (11748,11641,11633,11623,11618,11614,11600,11598,11589,11584,11546,11511,11505,11482,11469,11440,11429,11420,11406,11378,11370,11326,11317,11303,11295,11275,11268,11178,11169,11164,11162,11146,11088,11062,11055,11042,11039,11038,11018,11011,11004,10967,10952,10933,10930,10889,10862,10809,10802,10794,10784,10778,10751,10747,10729,10665,10652,10625,10603,10597,10567,10545,10543,10533,10529,10516,10463,10456,10454,10453,10406,10367,10307 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40