Zend_Db_Statement_Exception
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 2, query was: SELECT SQL_CALC_FOUND_ROWS *, `ContractMaster`.* FROM `MerchantMaster` INNER JOIN `ContractMaster` ON contractCode=merchantContract WHERE (merchantStatus != '9') AND (merchantStatus = '1') AND (contractStatus = '1') AND (merchantCode = ?)
#0 /apps/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /apps/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /apps/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT SQL_CALC...', Array) #3 /apps/library/Zend/Db/Adapter/Abstract.php(759): Zend_Db_Adapter_Pdo_Abstract->query('SELECT SQL_CALC...', Array) #4 /apps/cms/Application/Model/Db/Selector.php(92): Zend_Db_Adapter_Abstract->fetchRow('SELECT SQL_CALC...') #5 /apps/cms/Application/Controller/Public/FileController.php(41): Application_Model_Db_Selector->fetchRow() #6 /apps/cms/Application/Controller/Cli/Abstract.php(26): FileController->_finalizedPreDispatch() #7 /apps/cms/Application/Controller/Abstract.php(37): Application_Controller_Cli_Abstract->_preDispatch() #8 /apps/library/Zend/Controller/Action.php(502): Application_Controller_Abstract->preDispatch() #9 /apps/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('aromasheetPdfAc...') #10 /apps/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Application_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /apps/cms/Interface/Public.php(162): Zend_Controller_Front->dispatch() #12 {main}
エラーを補足した為、動作を一旦停止させました。