An error occurred

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 MySQL server version for the right syntax to use near '))' at line 2

Stack trace:

#0 /var/www/u0221427/data/www/irice.ru/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/u0221427/data/www/irice.ru/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/u0221427/data/www/irice.ru/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /var/www/u0221427/data/www/irice.ru/library/Zend/Db/Table/Abstract.php(1516): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /var/www/u0221427/data/www/irice.ru/library/Zend/Db/Table/Abstract.php(1332): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /var/www/u0221427/data/www/irice.ru/application/models/mappers/EntityMapper.php(140): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /var/www/u0221427/data/www/irice.ru/application/models/mappers/EntityMapper.php(61): A_Model_Mapper_EntityMapper->doFindAllBy(Array, Array)
#7 [internal function]: A_Model_Mapper_EntityMapper->__call('doFindAllBy', Array)
#8 [internal function]: A_Model_Mapper_ProductMapper->doFindAllBy()
#9 /var/www/u0221427/data/www/irice.ru/application/models/collections/AbstractCollection.php(65): call_user_func(Array)
#10 /var/www/u0221427/data/www/irice.ru/application/models/collections/AbstractCollection.php(83): A_Model_Collection_AbstractCollection->notifyAccess()
#11 /var/www/u0221427/data/www/irice.ru/application/models/collections/AbstractCollection.php(94): A_Model_Collection_AbstractCollection->getRow(0)
#12 /var/www/u0221427/data/www/irice.ru/application/models/collections/AbstractCollection.php(117): A_Model_Collection_AbstractCollection->current()
#13 /var/www/u0221427/data/www/irice.ru/application/controllers/CatalogController.php(51): A_Model_Collection_AbstractCollection->valid()
#14 /var/www/u0221427/data/www/irice.ru/library/Zend/Controller/Action.php(513): CatalogController->viewAction()
#15 /var/www/u0221427/data/www/irice.ru/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#16 /var/www/u0221427/data/www/irice.ru/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#17 /var/www/u0221427/data/www/irice.ru/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#18 /var/www/u0221427/data/www/irice.ru/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#19 /var/www/u0221427/data/www/irice.ru/index.php(43): Zend_Application->run()
#20 {main}  

Request Parameters:


Fatal error: Call to a member function getParams() on a non-object in /var/www/u0221427/data/www/irice.ru/application/views/scripts/error/error.phtml on line 23