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 !='1109' AND op.order_id IN (18958,18868,18723,18509,18433,18320,18256,18045,17957,17845,17794,17476,17469,17341,17264,17250,17098,17061,17040,16912,16863,16814,16785,16765,16637,16619,16559,16524,16448,16386,16324,16220,16216,15708,15501,15484,15424,14938,14780,14748,14718,12692,12683,12620,12536,12526,12524,12516,12485,12460,12332,12242,12208,12189,12126,12123,12105,11986,11954,11952,11879,11794,11643,11591,11545,11543,11512,11507,11471,11424,11376,11365,1134 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40