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 !='449' AND op.order_id IN (16695,16549,16459,16332,16277,16184,16131,16029,16017,15936,15861,15826,15619,15440,15402,15282,15224,15198,15154,15112,15042,15036,14890,14879,14832,14534,14353,14056,13988,13922,13728,13717,13612,13602,13573,13487,13446,13346,13167,13134,13018,12962,12922,12769,12765,12706,12613,12605,12568,12463,12423,12311,12264,12223,12217,12192,12144,12113,12023,12021,11792,11791,11692,11636,11572,11557,11534,11330,11278,11245,11182,11140,11111 in /home/vapourdr/public_html/system/library/db/mysqli.php on line 40