Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1226 User 'qpthcajhtic' has exceeded the 'max_questions' resource (current value: 40000) in /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Stack trace:
#0 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute(NULL)
#1 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery('SELECT AVG(pc.g...', Array, Array)
#3 /home/qpthcaj/www/peruilhe2/modules/productcomments/src/Repository/ProductCommentRepository.php(219): Doctrine\DBAL\Query\QueryBuilder->execute()
#4 /home/qpthcaj/www/peruilhe2/modules/productcomments/productcomments.php(950): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade(2897, true)
#5 /home/qpthcaj/www/peruilhe2/classes/Hook.php(1083): ProductComments->hookFilterProductContent(Array)
#6 /home/qpthcaj/www/peruilhe2/classes/Hook.php(421): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#7 /home/qpthcaj/www/peruilhe2/classes/Hook.php(989): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#8 /home/qpthcaj/www/peruilhe2/controllers/front/ProductController.php(424): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#9 /home/qpthcaj/www/peruilhe2/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#10 /home/qpthcaj/www/peruilhe2/classes/Dispatcher.php(510): ControllerCore->run()
#11 /home/qpthcaj/www/peruilhe2/index.php(28): DispatcherCore->dispatch()
#12 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42000]: Syntax error or access violation: 1226 User 'qpthcajhtic' has exceeded the 'max_questions' resource (current value: 40000) in /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery('SELECT AVG(pc.g...', Array, Array)
#3 /home/qpthcaj/www/peruilhe2/modules/productcomments/src/Repository/ProductCommentRepository.php(219): Doctrine\DBAL\Query\QueryBuilder->execute()
#4 /home/qpthcaj/www/peruilhe2/modules/productcomments/productcomments.php(950): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade(2897, true)
#5 /home/qpthcaj/www/peruilhe2/classes/Hook.php(1083): ProductComments->hookFilterProductContent(Array)
#6 /home/qpthcaj/www/peruilhe2/classes/Hook.php(421): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#7 /home/qpthcaj/www/peruilhe2/classes/Hook.php(989): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#8 /home/qpthcaj/www/peruilhe2/controllers/front/ProductController.php(424): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#9 /home/qpthcaj/www/peruilhe2/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#10 /home/qpthcaj/www/peruilhe2/classes/Dispatcher.php(510): ControllerCore->run()
#11 /home/qpthcaj/www/peruilhe2/index.php(28): DispatcherCore->dispatch()
#12 {main}
Next Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT AVG(pc.grade) AS averageGrade FROM prlh_product_comment pc WHERE (pc.id_product = ?) AND (pc.deleted = ?) AND (pc.validate = ?)' with params [2897, 0, 1]:
SQLSTATE[42000]: Syntax error or access violation: 1226 User 'qpthcajhtic' has exceeded the 'max_questions' resource (current value: 40000) in /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128
Stack trace:
#0 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDO\Exception))
#1 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(159): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'An exception oc...')
#2 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(2222): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT AVG(pc.g...', Array)
#3 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1312): Doctrine\DBAL\Connection->handleExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT AVG(pc.g...', Array, Array)
#4 /home/qpthcaj/www/peruilhe2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery('SELECT AVG(pc.g...', Array, Array)
#5 /home/qpthcaj/www/peruilhe2/modules/productcomments/src/Repository/ProductCommentRepository.php(219): Doctrine\DBAL\Query\QueryBuilder->execute()
#6 /home/qpthcaj/www/peruilhe2/modules/productcomments/productcomments.php(950): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade(2897, true)
#7 /home/qpthcaj/www/peruilhe2/classes/Hook.php(1083): ProductComments->hookFilterProductContent(Array)
#8 /home/qpthcaj/www/peruilhe2/classes/Hook.php(421): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#9 /home/qpthcaj/www/peruilhe2/classes/Hook.php(989): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#10 /home/qpthcaj/www/peruilhe2/controllers/front/ProductController.php(424): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#11 /home/qpthcaj/www/peruilhe2/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#12 /home/qpthcaj/www/peruilhe2/classes/Dispatcher.php(510): ControllerCore->run()
#13 /home/qpthcaj/www/peruilhe2/index.php(28): DispatcherCore->dispatch()
#14 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: An exception occurred while executing 'SELECT AVG(pc.grade) AS averageGrade FROM prlh_product_comment pc WHERE (pc.id_product = ?) AND (pc.deleted = ?) AND (pc.validate = ?)' with params [2897, 0, 1]:
SQLSTATE[42000]: Syntax error or access violation: 1226 User 'qpthcajhtic' has exceeded the 'max_questions' resource (current value: 40000) in /home/qpthcaj/www/peruilhe2/classes/Hook.php:434
Stack trace:
#0 /home/qpthcaj/www/peruilhe2/classes/Hook.php(989): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#1 /home/qpthcaj/www/peruilhe2/controllers/front/ProductController.php(424): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#2 /home/qpthcaj/www/peruilhe2/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#3 /home/qpthcaj/www/peruilhe2/classes/Dispatcher.php(510): ControllerCore->run()
#4 /home/qpthcaj/www/peruilhe2/index.php(28): DispatcherCore->dispatch()
#5 {main}
thrown in /home/qpthcaj/www/peruilhe2/classes/Hook.php on line 434