Zend Framework Default Application

An error occurred

Application error

Exception information:

Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1, query was: Select testo from apparati Where idopere=

Stack trace:

#0 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('Select testo fr...', Array)
#3 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Db/Adapter/Abstract.php(759): Zend_Db_Adapter_Pdo_Abstract->query('Select testo fr...', Array)
#4 /home/apostolo/domains/carlogoldoni.it/public_html/library/opera/models/Locus.php(464): Zend_Db_Adapter_Abstract->fetchRow('Select testo fr...')
#5 /home/apostolo/domains/carlogoldoni.it/public_html/library/opera/controllers/Testo/testoAction.php(24): Opera_Model_Locus->getApparato('GOBBI%7CA-W59%7...')
#6 /home/apostolo/domains/carlogoldoni.it/public_html/application/controllers/TestoController.php(13): require('/home/apostolo/...')
#7 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Controller/Action.php(516): TestoController->testoAction()
#8 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('testoAction')
#9 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#11 /home/apostolo/domains/carlogoldoni.it/public_html/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#12 /home/apostolo/domains/carlogoldoni.it/public_html/public/index.php(27): Zend_Application->run()
#13 {main}  

Request Parameters:

array (
  'controller' => 'testo',
  'action' => 'testo',
  'codice' => 'GOBBI%7CA-W59%7C000',
  'apparato' => 'A',
  'module' => 'default',
)