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 !='664' AND op.order_id IN (15299,15278,15237,15232,15146,15032,14990,14953,14894,14876,14816,14808,14776,14770,14640,14629,14533,14480,14469,14456,14344,14336,14298,14205,14119,14114,14093,14008,14006,13990,13912,13804,13777,13769,13724,13558,13442,13387,13329,13310,13247,12914,12826,12786,12768,12604,12342,12285,12243,12214,12168,12134,11944,11912,11907,11875,11835,11772,11766,11750,11663,11655,11607,11533,11423,11311,11232,11126,11120,11099,11065,11021,10976 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40