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 !='683' AND op.order_id IN (15302,15249,15240,15228,15172,15163,15059,14999,14994,14859,14854,14815,14812,14586,14549,14412,14409,14398,14314,14166,14086,14042,13978,13939,13882,13870,13747,13696,13588,13550,13492,13477,13428,13423,13336,13287,13112,13078,13049,13031,12955,12949,12939,12909,12862,12809,12767,12739,12727,12688,12673,12626,12621,12575,12538,12435,12405,12341,12319,12294,12195,12187,12186,12177,12118,12064,12062,11996,11979,11934,11876,11814,11802 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40