Warning: Undefined variable $cart_country in C:\Apache24\htdocs\modules\atpbc\atpbc.php on line 539
Fatal error: Uncaught PDOException: 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 1 in C:\Apache24\htdocs\classes\db\DbPDO.php:151
Stack trace:
#0 C:\Apache24\htdocs\classes\db\DbPDO.php(151): PDO->query('SELECT * FROM `...')
#1 C:\Apache24\htdocs\classes\db\Db.php(377): DbPDOCore->_query('SELECT * FROM `...')
#2 C:\Apache24\htdocs\classes\db\Db.php(614): DbCore->query('SELECT * FROM `...')
#3 C:\Apache24\htdocs\modules\atpbc\atpbc.php(285): DbCore->executeS('SELECT * FROM `...')
#4 C:\Apache24\htdocs\modules\atpbc\atpbc.php(539): atpbc->getRestrictionsByProductAndCountry('570', NULL)
#5 C:\Apache24\htdocs\classes\Hook.php(1083): atpbc->hookFilterProductSearch(Array)
#6 C:\Apache24\htdocs\classes\Hook.php(421): HookCore::coreCallHook(Object(atpbc), 'hookFilterProdu...', Array)
#7 C:\Apache24\htdocs\classes\Hook.php(989): HookCore::callHookOn(Object(atpbc), 'filterProductSe...', Array)
#8 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(444): HookCore::exec('filterProductSe...', Array)
#9 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#10 C:\Apache24\htdocs\controllers\front\listing\CategoryController.php(139): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array)
#11 C:\Apache24\htdocs\classes\controller\Controller.php(319): CategoryControllerCore->initContent()
#12 C:\Apache24\htdocs\classes\Dispatcher.php(510): ControllerCore->run()
#13 C:\Apache24\htdocs\index.php(28): DispatcherCore->dispatch()
#14 {main}
Next PrestaShopException: 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 1 in C:\Apache24\htdocs\classes\db\DbPDO.php:153
Stack trace:
#0 C:\Apache24\htdocs\classes\db\Db.php(377): DbPDOCore->_query('SELECT * FROM `...')
#1 C:\Apache24\htdocs\classes\db\Db.php(614): DbCore->query('SELECT * FROM `...')
#2 C:\Apache24\htdocs\modules\atpbc\atpbc.php(285): DbCore->executeS('SELECT * FROM `...')
#3 C:\Apache24\htdocs\modules\atpbc\atpbc.php(539): atpbc->getRestrictionsByProductAndCountry('570', NULL)
#4 C:\Apache24\htdocs\classes\Hook.php(1083): atpbc->hookFilterProductSearch(Array)
#5 C:\Apache24\htdocs\classes\Hook.php(421): HookCore::coreCallHook(Object(atpbc), 'hookFilterProdu...', Array)
#6 C:\Apache24\htdocs\classes\Hook.php(989): HookCore::callHookOn(Object(atpbc), 'filterProductSe...', Array)
#7 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(444): HookCore::exec('filterProductSe...', Array)
#8 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#9 C:\Apache24\htdocs\controllers\front\listing\CategoryController.php(139): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array)
#10 C:\Apache24\htdocs\classes\controller\Controller.php(319): CategoryControllerCore->initContent()
#11 C:\Apache24\htdocs\classes\Dispatcher.php(510): ControllerCore->run()
#12 C:\Apache24\htdocs\index.php(28): DispatcherCore->dispatch()
#13 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: 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 1 in C:\Apache24\htdocs\classes\Hook.php:434
Stack trace:
#0 C:\Apache24\htdocs\classes\Hook.php(989): HookCore::callHookOn(Object(atpbc), 'filterProductSe...', Array)
#1 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(444): HookCore::exec('filterProductSe...', Array)
#2 C:\Apache24\htdocs\classes\controller\ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#3 C:\Apache24\htdocs\controllers\front\listing\CategoryController.php(139): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array)
#4 C:\Apache24\htdocs\classes\controller\Controller.php(319): CategoryControllerCore->initContent()
#5 C:\Apache24\htdocs\classes\Dispatcher.php(510): ControllerCore->run()
#6 C:\Apache24\htdocs\index.php(28): DispatcherCore->dispatch()
#7 {main}
thrown in C:\Apache24\htdocs\classes\Hook.php on line 434