Error en bootstrap: Mysqli prepare error: 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


#0 /srv/turisapps_web/1611073117/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT `site_ho...')
#1 /srv/turisapps_web/1611073117/library/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT `site_ho...')
#2 /srv/turisapps_web/1611073117/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT `site_ho...')
#3 /srv/turisapps_web/1611073117/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select))
#4 /srv/turisapps_web/1611073117/library/ZoR/Db/Table.php(734): Zend_Db_Select->query()
#5 /srv/turisapps_web/1611073117/application/models/HomeModel.php(106): ZoR_Db_Table->_get(Array)
#6 /srv/turisapps_web/1611073117/application/models/HomeModel.php(96): HomeModel->get_by_id(NULL)
#7 /srv/turisapps_web/1611073117/application/modules/site/controllers/IndexController.php(36): HomeModel->get_selected()
#8 /srv/turisapps_web/1611073117/library/Zend/Controller/Action.php(516): Site_IndexController->indexAction()
#9 /srv/turisapps_web/1611073117/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#10 /srv/turisapps_web/1611073117/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /srv/turisapps_web/1611073117/application/bootstrap.php(259): Zend_Controller_Front->dispatch()
#12 /srv/turisapps_web/1611073117/index.php(96): Bootstrap->runApp()
#13 {main}