Warning: Attempt to read property "id_attribute" on bool in /home/m001coques/www/modules/ohconfigurator/ohconfigurator.php on line 489

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 'LIMIT 1' at line 4 in /home/m001coques/www/classes/db/DbPDO.php:149 Stack trace: #0 /home/m001coques/www/classes/db/DbPDO.php(149): PDO->query() #1 /home/m001coques/www/classes/db/Db.php(377): DbPDOCore->_query() #2 /home/m001coques/www/classes/db/Db.php(664): DbCore->query() #3 /home/m001coques/www/modules/ohconfigurator/ohconfigurator.php(489): DbCore->getRow() #4 /home/m001coques/www/classes/Hook.php(1043): ohconfigurator->hookactionPresentProductListing() #5 /home/m001coques/www/classes/Hook.php(418): HookCore::coreCallHook() #6 /home/m001coques/www/classes/Hook.php(981): HookCore::callHookOn() #7 /home/m001coques/www/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec() #8 /home/m001coques/www/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present() #9 /home/m001coques/www/classes/controller/Controller.php(319): ProductControllerCore->initContent() #10 /home/m001coques/www/classes/Dispatcher.php(510): ControllerCore->run() #11 /home/m001coques/www/index.php(28): DispatcherCore->dispatch() #12 {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 'LIMIT 1' at line 4 in /home/m001coques/www/classes/db/DbPDO.php:151 Stack trace: #0 /home/m001coques/www/classes/db/Db.php(377): DbPDOCore->_query() #1 /home/m001coques/www/classes/db/Db.php(664): DbCore->query() #2 /home/m001coques/www/modules/ohconfigurator/ohconfigurator.php(489): DbCore->getRow() #3 /home/m001coques/www/classes/Hook.php(1043): ohconfigurator->hookactionPresentProductListing() #4 /home/m001coques/www/classes/Hook.php(418): HookCore::coreCallHook() #5 /home/m001coques/www/classes/Hook.php(981): HookCore::callHookOn() #6 /home/m001coques/www/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec() #7 /home/m001coques/www/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present() #8 /home/m001coques/www/classes/controller/Controller.php(319): ProductControllerCore->initContent() #9 /home/m001coques/www/classes/Dispatcher.php(510): ControllerCore->run() #10 /home/m001coques/www/index.php(28): DispatcherCore->dispatch() #11 {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 'LIMIT 1' at line 4 in /home/m001coques/www/classes/Hook.php:431 Stack trace: #0 /home/m001coques/www/classes/Hook.php(981): HookCore::callHookOn() #1 /home/m001coques/www/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec() #2 /home/m001coques/www/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present() #3 /home/m001coques/www/classes/controller/Controller.php(319): ProductControllerCore->initContent() #4 /home/m001coques/www/classes/Dispatcher.php(510): ControllerCore->run() #5 /home/m001coques/www/index.php(28): DispatcherCore->dispatch() #6 {main} thrown in /home/m001coques/www/classes/Hook.php on line 431