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 !='506' AND op.order_id IN (16804,16709,16629,16516,16418,16330,16270,16269,16248,16177,16154,16093,16092,16065,16009,15984,15890,15877,15875,15867,15863,15833,15821,15792,15785,15741,15674,15643,15641,15512,15505,15435,15430,15359,15317,15213,15173,15028,14973,14927,14873,14792,14632,14478,14433,14418,14301,14253,14250,14206,14110,14087,14080,14037,14017,13926,13780,13772,13718,13713,13670,13656,13621,13620,13618,13614,13346,13337,13308,13265,13264,13136,13045 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40