Website: Bovu Caravans | CMS
URL: www.bovucaravans.nl
Error number: 0
Error file:
Error line:
Title: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY `rank` ASC' at line 1, query was: SELECT `shop_product_photos`.* FROM `shop_product_photos` WHERE (site_id=1) AND (item_id=) ORDER BY `rank` ASC
#0 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `shop_pr...', Array) #3 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /projects/bovucarav_55/public_html/mvc/application/modules/shop/models/DbTables/ShopProductPhotos.php(38): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select)) #6 /projects/bovucarav_55/public_html/mvc/application/models/PdfModel.php(96): Model_DbTables_ShopProductPhotos->getAllRecords(Array, Array, Array, 'rank') #7 /projects/bovucarav_55/public_html/mvc/application/models/PdfModel.php(55): PdfModel->setProductData() #8 /projects/bovucarav_55/public_html/mvc/application/modules/front/controllers/MediaController.php(18): PdfModel->createProductConfirmation(810, 'I') #9 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): MediaController->downloadPdfAction() #10 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('downloadPdfActi...') #11 /projects/bovucarav_55/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #12 /projects/bovucarav_55/public_html/index.php(199): Zend_Controller_Front->dispatch() #13 {main}