SQLSTATE[HY093]: Invalid parameter number: no parameters were bound, query was: SELECT `znd_products_images`.* FROM `znd_products_images` WHERE (parent_id = ?) ORDER BY `pos` DESC, `id` DESC
exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound' in /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Statement.php(323): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #6 /var/www/vhosts/rkeeper.kg/Library/MY/Db/Mapper.php(495): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select)) #7 /var/www/vhosts/rkeeper.kg/Application/Modules/Products/Front/Controllers/IndexController.php(98): MY_Db_Mapper->fetchList() #8 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Action.php(516): Products_IndexController->fullAction() #9 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('fullAction') #10 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Common_Request), Object(Zend_Controller_Response_Http)) #11 /var/www/vhosts/rkeeper.kg/httpdocs/index.php(119): Zend_Controller_Front->dispatch() #12 {main} Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound, query was: SELECT `znd_products_images`.* FROM `znd_products_images` WHERE (parent_id = ?) ORDER BY `pos` DESC, `id` DESC' in /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Statement/Pdo.php:235 Stack trace: #0 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Statement.php(323): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/www/vhosts/rkeeper.kg/Library/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /var/www/vhosts/rkeeper.kg/Library/MY/Db/Mapper.php(495): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select)) #6 /var/www/vhosts/rkeeper.kg/Application/Modules/Products/Front/Controllers/IndexController.php(98): MY_Db_Mapper->fetchList() #7 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Action.php(516): Products_IndexController->fullAction() #8 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('fullAction') #9 /var/www/vhosts/rkeeper.kg/Library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Common_Request), Object(Zend_Controller_Response_Http)) #10 /var/www/vhosts/rkeeper.kg/httpdocs/index.php(119): Zend_Controller_Front->dispatch() #11 {main}