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 !='1151' AND op.order_id IN (15115,15106,15083,15047,15035,15012,14862,14846,14844,14823,14820,14807,14801,14734,14722,14204,14170,14082,14036,14011,14005,13992,13983,13937,13905,13897,13896,13886,13884,13876,13866,13847,13839,13837,13821,13785,13773,13744,13691,13596,13578,13519,13498,13475,13445,13424,13419,13375,13345,13339,13333,13301,13224,13212,13198,13182,13165,13151,13144,13111,13084,13079,13069,13064,13039,12981,12960,12836,12807,12779,12710,12709,1256 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40