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 ')' at line 3 in /var/www/allocasseauto/allocasseauto-prod/classes/db/DbPDO.php:149 Stack trace: #0 /var/www/allocasseauto/allocasseauto-prod/classes/db/DbPDO.php(149): PDO->query() #1 /var/www/allocasseauto/allocasseauto-prod/classes/db/Db.php(377): DbPDOCore->_query() #2 /var/www/allocasseauto/allocasseauto-prod/classes/db/Db.php(614): DbCore->query() #3 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/classes/faqsPost.php(485): DbCore->executeS() #4 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/faqs.php(297): faqsPost::getIdFaqsAssociatedToProductCategories() #5 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/faqs.php(1072): faqs->getAssociatedFaqsTemplateForProductPage() #6 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(1043): faqs->hookDisplayProductExtraContent() #7 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(418): HookCore::coreCallHook() #8 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(981): HookCore::callHookOn() #9 /var/www/allocasseauto/allocasseauto-prod/src/Adapter/HookManager.php(81): HookCore::exec() #10 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(70): PrestaShop\PrestaShop\Adapter\HookManager->exec() #11 /var/www/allocasseauto/allocasseauto-prod/src/Core/Product/ProductExtraContentFinder.php(55): PrestaShopBundle\Service\Hook\HookFinder->find() #12 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(102): PrestaShop\PrestaShop\Core\Product\ProductExtraContentFinder->find() #13 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(1203): PrestaShopBundle\Service\Hook\HookFinder->present() #14 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(421): ProductControllerCore->getTemplateVarProduct() #15 /var/www/allocasseauto/allocasseauto-prod/classes/controller/Controller.php(319): ProductControllerCore->initContent() #16 /var/www/allocasseauto/allocasseauto-prod/classes/Dispatcher.php(510): ControllerCore->run() #17 /var/www/allocasseauto/allocasseauto-prod/index.php(28): DispatcherCore->dispatch() #18 {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 ')' at line 3 in /var/www/allocasseauto/allocasseauto-prod/classes/db/DbPDO.php:151 Stack trace: #0 /var/www/allocasseauto/allocasseauto-prod/classes/db/Db.php(377): DbPDOCore->_query() #1 /var/www/allocasseauto/allocasseauto-prod/classes/db/Db.php(614): DbCore->query() #2 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/classes/faqsPost.php(485): DbCore->executeS() #3 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/faqs.php(297): faqsPost::getIdFaqsAssociatedToProductCategories() #4 /var/www/allocasseauto/allocasseauto-prod/modules/faqs/faqs.php(1072): faqs->getAssociatedFaqsTemplateForProductPage() #5 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(1043): faqs->hookDisplayProductExtraContent() #6 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(418): HookCore::coreCallHook() #7 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(981): HookCore::callHookOn() #8 /var/www/allocasseauto/allocasseauto-prod/src/Adapter/HookManager.php(81): HookCore::exec() #9 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(70): PrestaShop\PrestaShop\Adapter\HookManager->exec() #10 /var/www/allocasseauto/allocasseauto-prod/src/Core/Product/ProductExtraContentFinder.php(55): PrestaShopBundle\Service\Hook\HookFinder->find() #11 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(102): PrestaShop\PrestaShop\Core\Product\ProductExtraContentFinder->find() #12 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(1203): PrestaShopBundle\Service\Hook\HookFinder->present() #13 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(421): ProductControllerCore->getTemplateVarProduct() #14 /var/www/allocasseauto/allocasseauto-prod/classes/controller/Controller.php(319): ProductControllerCore->initContent() #15 /var/www/allocasseauto/allocasseauto-prod/classes/Dispatcher.php(510): ControllerCore->run() #16 /var/www/allocasseauto/allocasseauto-prod/index.php(28): DispatcherCore->dispatch() #17 {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 ')' at line 3 in /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php:431 Stack trace: #0 /var/www/allocasseauto/allocasseauto-prod/classes/Hook.php(981): HookCore::callHookOn() #1 /var/www/allocasseauto/allocasseauto-prod/src/Adapter/HookManager.php(81): HookCore::exec() #2 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(70): PrestaShop\PrestaShop\Adapter\HookManager->exec() #3 /var/www/allocasseauto/allocasseauto-prod/src/Core/Product/ProductExtraContentFinder.php(55): PrestaShopBundle\Service\Hook\HookFinder->find() #4 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(102): PrestaShop\PrestaShop\Core\Product\ProductExtraContentFinder->find() #5 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(1203): PrestaShopBundle\Service\Hook\HookFinder->present() #6 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(421): ProductControllerCore->getTemplateVarProduct() #7 /var/www/allocasseauto/allocasseauto-prod/classes/controller/Controller.php(319): ProductControllerCore->initContent() #8 /var/www/allocasseauto/allocasseauto-prod/classes/Dispatcher.php(510): ControllerCore->run() #9 /var/www/allocasseauto/allocasseauto-prod/index.php(28): DispatcherCore->dispatch() #10 {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 ')' at line 3 in /var/www/allocasseauto/allocasseauto-prod/src/Adapter/HookManager.php:99 Stack trace: #0 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(70): PrestaShop\PrestaShop\Adapter\HookManager->exec() #1 /var/www/allocasseauto/allocasseauto-prod/src/Core/Product/ProductExtraContentFinder.php(55): PrestaShopBundle\Service\Hook\HookFinder->find() #2 /var/www/allocasseauto/allocasseauto-prod/src/PrestaShopBundle/Service/Hook/HookFinder.php(102): PrestaShop\PrestaShop\Core\Product\ProductExtraContentFinder->find() #3 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(1203): PrestaShopBundle\Service\Hook\HookFinder->present() #4 /var/www/allocasseauto/allocasseauto-prod/controllers/front/ProductController.php(421): ProductControllerCore->getTemplateVarProduct() #5 /var/www/allocasseauto/allocasseauto-prod/classes/controller/Controller.php(319): ProductControllerCore->initContent() #6 /var/www/allocasseauto/allocasseauto-prod/classes/Dispatcher.php(510): ControllerCore->run() #7 /var/www/allocasseauto/allocasseauto-prod/index.php(28): DispatcherCore->dispatch() #8 {main} thrown in /var/www/allocasseauto/allocasseauto-prod/src/Adapter/HookManager.php on line 99