Application error

Info: 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, query was: select * from zap_event_date where event_date_id =

Stack trace:

#0 /usr/local/phplib/zend/1.12.17/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/local/phplib/zend/1.12.17/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /usr/local/phplib/zend/1.12.17/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select * from z...', Array)
#3 /usr/local/phplib/zap/3.0.0/Zap/Db/Query.php(207): Zend_Db_Adapter_Pdo_Abstract->query('select * from z...', Array)
#4 /var/www/tartaren.be/prod/application/views/scripts/event/subscribe.phtml(40): Zap_Db_Query::find('select * from z...')
#5 /usr/local/phplib/zend/1.12.17/Zend/View.php(157): include('/var/www/tartar...')
#6 /usr/local/phplib/zend/1.12.17/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/tartar...')
#7 /usr/local/phplib/zend/1.12.17/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#8 /usr/local/phplib/zend/1.12.17/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('event/subscribe...', NULL)
#9 /usr/local/phplib/zend/1.12.17/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#10 /usr/local/phplib/zend/1.12.17/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#11 /usr/local/phplib/zend/1.12.17/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#12 /usr/local/phplib/zend/1.12.17/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('subscribeAction')
#13 /usr/local/phplib/zend/1.12.17/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /usr/local/phplib/zend/1.12.17/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#15 /usr/local/phplib/zend/1.12.17/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#16 /var/www/tartaren.be/prod/public/index.php(29): Zend_Application->run()
#17 {main}

Request Parameters:

array (
  'event_date_id' => '609',
  'controller' => 'event',
  'action' => 'subscribe',
)

NIEUWSBRIEF