Website: Bor catering | CMS
URL: www.borcatering.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 ') AND (only_time = 0 OR only_time IS NULL) AND (date = '2023-01-28') LIMIT 1' at line 1, query was: SELECT `custom_exclude_delivery_days`.* FROM `custom_exclude_delivery_days` WHERE (product_id = ) AND (only_time = 0 OR only_time IS NULL) AND (date = '2023-01-28') LIMIT 1

#0 /projects/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /projects/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /projects/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `custom_...', Array)
#3 /projects/borcateri_47/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/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Db/Table/Abstract.php(1439): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /projects/borcateri_47/public_html/mvc/application/modules/custom/models/DbTables/CustomExcludeDeliveryDays.php(110): Zend_Db_Table_Abstract->fetchRow(Array)
#6 /projects/borcateri_47/public_html/mvc/application/modules/front/controllers/ProductController.php(345): Model_DbTables_CustomExcludeDeliveryDays->getRecordDate(NULL, '2023-01-28')
#7 /projects/borcateri_47/public_html/mvc/application/modules/front/controllers/ProductController.php(266): ProductController->isProductBlockedToDay(NULL)
#8 /projects/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): ProductController->viewAction()
#9 /projects/borcateri_47/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('viewAction')
#10 /projects/borcateri_47/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))
#11 /projects/borcateri_47/public_html/index.php(204): Zend_Controller_Front->dispatch()
#12 {main}