Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message '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 ')) AND (public = 1)' at line 1' in /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Statement/Mysqli.php:77 Stack trace: #0 /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT COUNT(*)...') #1 /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT COUNT(*)...') #2 /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT COUNT(*)...') #3 /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('SELECT COUNT(*)...', Array) #4 /var/www/market.zooexpress.ru/common/data/lib/Searcher.class.php(181): Zend_Db_Adapt in /var/www/market.zooexpress.ru/common/data/lib/Zend/Db/Statement/Mysqli.php on line 77