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 MariaDB server version for the right syntax to use near 'LIMIT 1' at line 15 in /var/www/roughbull_racing/classes/db/DbPDO.php:149 Stack trace: #0 /var/www/roughbull_racing/classes/db/DbPDO.php(149): PDO->query() #1 /var/www/roughbull_racing/classes/db/Db.php(381): DbPDOCore->_query() #2 /var/www/roughbull_racing/classes/db/Db.php(668): DbCore->query() #3 /var/www/roughbull_racing/classes/db/Db.php(702): DbCore->getRow() #4 /var/www/roughbull_racing/modules/rbfixedoffers/rbfixedoffers.php(380): DbCore->getValue() #5 /var/www/roughbull_racing/modules/rbfixedoffers/rbfixedoffers.php(90): RbFixedOffers->hasFixedOrReductionOffer() #6 /var/www/roughbull_racing/classes/Hook.php(1251): RbFixedOffers->hookActionPresentProduct() #7 /var/www/roughbull_racing/classes/Hook.php(462): HookCore::coreCallHook() #8 /var/www/roughbull_racing/classes/Hook.php(1143): HookCore::callHookOn() #9 /var/www/roughbull_racing/src/Adapter/Presenter/Product/ProductPresenter.php(114): HookCore::exec() #10 /var/www/roughbull_racing/controllers/front/ProductController.php(1226): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductPresenter->present() #11 /var/www/roughbull_racing/controllers/front/ProductController.php(337): ProductControllerCore->getTemplateVarProduct() #12 /var/www/roughbull_racing/classes/controller/Controller.php(330): ProductControllerCore->initContent() #13 /var/www/roughbull_racing/classes/Dispatcher.php(487): ControllerCore->run() #14 /var/www/roughbull_racing/index.php(78): DispatcherCore->dispatch() #15 {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 MariaDB server version for the right syntax to use near 'LIMIT 1' at line 15 in /var/www/roughbull_racing/classes/db/DbPDO.php:151 Stack trace: #0 /var/www/roughbull_racing/classes/db/Db.php(381): DbPDOCore->_query() #1 /var/www/roughbull_racing/classes/db/Db.php(668): DbCore->query() #2 /var/www/roughbull_racing/classes/db/Db.php(702): DbCore->getRow() #3 /var/www/roughbull_racing/modules/rbfixedoffers/rbfixedoffers.php(380): DbCore->getValue() #4 /var/www/roughbull_racing/modules/rbfixedoffers/rbfixedoffers.php(90): RbFixedOffers->hasFixedOrReductionOffer() #5 /var/www/roughbull_racing/classes/Hook.php(1251): RbFixedOffers->hookActionPresentProduct() #6 /var/www/roughbull_racing/classes/Hook.php(462): HookCore::coreCallHook() #7 /var/www/roughbull_racing/classes/Hook.php(1143): HookCore::callHookOn() #8 /var/www/roughbull_racing/src/Adapter/Presenter/Product/ProductPresenter.php(114): HookCore::exec() #9 /var/www/roughbull_racing/controllers/front/ProductController.php(1226): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductPresenter->present() #10 /var/www/roughbull_racing/controllers/front/ProductController.php(337): ProductControllerCore->getTemplateVarProduct() #11 /var/www/roughbull_racing/classes/controller/Controller.php(330): ProductControllerCore->initContent() #12 /var/www/roughbull_racing/classes/Dispatcher.php(487): ControllerCore->run() #13 /var/www/roughbull_racing/index.php(78): DispatcherCore->dispatch() #14 {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 MariaDB server version for the right syntax to use near 'LIMIT 1' at line 15 in /var/www/roughbull_racing/classes/Hook.php:484 Stack trace: #0 /var/www/roughbull_racing/classes/Hook.php(1143): HookCore::callHookOn() #1 /var/www/roughbull_racing/src/Adapter/Presenter/Product/ProductPresenter.php(114): HookCore::exec() #2 /var/www/roughbull_racing/controllers/front/ProductController.php(1226): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductPresenter->present() #3 /var/www/roughbull_racing/controllers/front/ProductController.php(337): ProductControllerCore->getTemplateVarProduct() #4 /var/www/roughbull_racing/classes/controller/Controller.php(330): ProductControllerCore->initContent() #5 /var/www/roughbull_racing/classes/Dispatcher.php(487): ControllerCore->run() #6 /var/www/roughbull_racing/index.php(78): DispatcherCore->dispatch() #7 {main} thrown in /var/www/roughbull_racing/classes/Hook.php on line 484