string(1600) "ERROR: 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 'OR tag_link.tag_id = )) AND (main.public = 1) GROUP BY `tag_link`.`main_id` HAVI' at line 3
#0 /var/www/rusrep.ru/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT `tag_lin...')
#1 /var/www/rusrep.ru/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT `tag_lin...')
#2 /var/www/rusrep.ru/library/Zend/Db/Adapter/Abstract.php(467): Zend_Db_Adapter_Mysqli->prepare('SELECT `tag_lin...')
#3 /var/www/rusrep.ru/library/Rusrep/Tag.php(1718): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select))
#4 /var/www/rusrep.ru/application/modules/ajax/controllers/IndexController.php(1122): Rusrep_Tag::getTagArrayArticleListReportWithTagsArray('', Array, 1, '')
#5 /var/www/rusrep.ru/library/Zend/Controller/Action.php(513): Ajax_IndexController->changeArticleReportAction()
#6 /var/www/rusrep.ru/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('changeArticleRe...')
#7 /var/www/rusrep.ru/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /var/www/rusrep.ru/library/Zend/Controller/Front.php(212): Zend_Controller_Front->dispatch()
#9 /var/www/rusrep.ru/application/system/Bootstrap.php(60): Zend_Controller_Front::run(Array)
#10 /var/www/rusrep.ru/htdocs/index.php(54): Bootstrap->run(Array)
#11 {main}"