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 11
#0 /home/xdigita4/public_html/lib/Zend/Db/Statement.php(109): Zend_Db_Statement_Pdo->_prepare('SELECT CC.categ...')
#1 /home/xdigita4/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(181): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Pdo_Mysql), 'SELECT CC.categ...')
#2 /home/xdigita4/public_html/lib/Zend/Db/Adapter/Abstract.php(483): Zend_Db_Adapter_Pdo_Abstract->prepare('SELECT CC.categ...')
#3 /home/xdigita4/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(235): Zend_Db_Adapter_Abstract->query('SELECT CC.categ...', Array)
#4 /home/xdigita4/public_html/lib/Vato/Db/Model.php(363): Zend_Db_Adapter_Pdo_Abstract->query('SELECT CC.categ...')
#5 /home/xdigita4/public_html/application/models/Cnt/Category.php(471): Vato_Db_Model->vatoQuery('SELECT CC.categ...')
#6 /home/xdigita4/public_html/application/controllers/front/ObiaviController.php(87): Cnt_Category->getThisCategoryFriends('43')
#7 /home/xdigita4/public_html/lib/Zend/Controller/Action.php(512): ObiaviController->indexAction()
#8 /home/xdigita4/public_html/lib/Zend/Controller/Dispatcher/Standard.php(288): Zend_Controller_Action->dispatch('indexAction')
#9 /home/xdigita4/public_html/lib/Zend/Controller/Front.php(936): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/xdigita4/public_html/index.php(142): Zend_Controller_Front->dispatch()
#11 {main}