Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 '), 0), TotalAmount = IFNULL(( SELECT SUM( ROUND(SellPriceExVat, 2) * Qty )' at line 2' in /var/vhosts/office_common_files/classes/shop.class.php:357 Stack trace: #0 /var/vhosts/office_common_files/classes/shop.class.php(357): PDO->exec('UPDATE orders S...') #1 /var/vhosts/officestationery.co.uk/classes/ofs_shop.class.php(132): Shop->updateOrder() #2 /var/vhosts/officestationery.co.uk/controllers/BasketController.php(492): OFS_Shop->updateOrder(NULL) #3 /var/vhosts/officestationery.co.uk/controllers/BasketController.php(438): BasketController->updateOrder() #4 /var/vhosts/officestationery.co.uk/controllers/BasketController.php(525): BasketController->addAction() #5 {main} thrown in /var/vhosts/office_common_files/classes/shop.class.php on line 357