a:5:{i:0;s:203:"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 ')' at line 1";i:1;s:1977:"#0 /var/www/web35/web/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/web35/web/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /var/www/web35/web/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `sales_f...', Array)
#3 /var/www/web35/web/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `sales_f...', Array)
#4 /var/www/web35/web/lib/Zend/Db/Adapter/Abstract.php(725): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 /var/www/web35/web/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(352): Zend_Db_Adapter_Abstract->fetchRow(Object(Varien_Db_Select))
#6 /var/www/web35/web/app/code/core/Mage/Core/Model/Abstract.php(225): Mage_Core_Model_Mysql4_Abstract->load(Object(Fooman_EmailAttachments_Model_Order), Object(Fooman_EmailAttachments_Model_Order), NULL)
#7 /var/www/web35/web/app/code/community/Fooman/EmailAttachments/Model/Order/Pdf/Order.php(59): Mage_Core_Model_Abstract->load(Object(Fooman_EmailAttachments_Model_Order))
#8 /var/www/web35/web/app/code/community/Fooman/EmailAttachments/controllers/Admin/OrderController.php(15): Fooman_EmailAttachments_Model_Order_Pdf_Order->getPdf(Array)
#9 /var/www/web35/web/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Fooman_EmailAttachments_Admin_OrderController->printAction()
#10 /var/www/web35/web/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('print')
#11 /var/www/web35/web/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /var/www/web35/web/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#13 /var/www/web35/web/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#14 /var/www/web35/web/index.php(78): Mage::run('', 'store')
#15 {main}";s:3:"url";s:95:"/index.php/emailattachments/admin_order/print/order_id/54/key/499e9ebf7783232d7e88490f9256681a/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:15:"esso_store_view";}