Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1226] User 'db_tshirtpa2_1' has exceeded the 'max_user_connections' resource (current value: 5) in /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct('mysql:host=mysq...', 'db_tshirtpa2_1', 'dhYklyrS', Array)
#1 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=mysq...', 'db_tshirtpa2_1', 'dhYklyrS', Array)
#2 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'db_tshirtpa2_1', 'dhYklyrS', Array)
#3 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#4 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#8 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(352): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#9 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(788): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#10 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#11 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#12 /var/www/sites/tshirtpa2/www/classes/module/Module.php(3446): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#13 /var/www/sites/tshirtpa2/www/modules/productcomments/productcomments.php(921): ModuleCore->get('product_comment...')
#14 /var/www/sites/tshirtpa2/www/classes/Hook.php(1043): ProductComments->hookFilterProductContent(Array)
#15 /var/www/sites/tshirtpa2/www/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#16 /var/www/sites/tshirtpa2/www/classes/Hook.php(981): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#17 /var/www/sites/tshirtpa2/www/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#18 /var/www/sites/tshirtpa2/www/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#19 /var/www/sites/tshirtpa2/www/classes/Dispatcher.php(510): ControllerCore->run()
#20 /var/www/sites/tshirtpa2/www/index.php(29): DispatcherCore->dispatch()
#21 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1226] User 'db_tshirtpa2_1' has exceeded the 'max_user_connections' resource (current value: 5) in /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=mysq...', 'db_tshirtpa2_1', 'dhYklyrS', Array)
#2 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'db_tshirtpa2_1', 'dhYklyrS', Array)
#3 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#4 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#8 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(352): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#9 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(788): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#10 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#11 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#12 /var/www/sites/tshirtpa2/www/classes/module/Module.php(3446): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#13 /var/www/sites/tshirtpa2/www/modules/productcomments/productcomments.php(921): ModuleCore->get('product_comment...')
#14 /var/www/sites/tshirtpa2/www/classes/Hook.php(1043): ProductComments->hookFilterProductContent(Array)
#15 /var/www/sites/tshirtpa2/www/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#16 /var/www/sites/tshirtpa2/www/classes/Hook.php(981): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#17 /var/www/sites/tshirtpa2/www/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#18 /var/www/sites/tshirtpa2/www/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#19 /var/www/sites/tshirtpa2/www/classes/Dispatcher.php(510): ControllerCore->run()
#20 /var/www/sites/tshirtpa2/www/index.php(29): DispatcherCore->dispatch()
#21 {main}
Next Doctrine\DBAL\Exception\DriverException: An exception occurred in driver: SQLSTATE[HY000] [1226] User 'db_tshirtpa2_1' has exceeded the 'max_user_connections' resource (current value: 5) in /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128
Stack trace:
#0 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDO\Exception))
#1 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'An exception oc...')
#2 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(31): Doctrine\DBAL\DBALException::driverException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception))
#3 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'db_tshirtpa2_1', 'dhYklyrS', Array)
#4 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#5 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#6 /var/www/sites/tshirtpa2/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#7 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#8 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#9 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(352): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#10 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(788): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#11 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#12 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#13 /var/www/sites/tshirtpa2/www/classes/module/Module.php(3446): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#14 /var/www/sites/tshirtpa2/www/modules/productcomments/productcomments.php(921): ModuleCore->get('product_comment...')
#15 /var/www/sites/tshirtpa2/www/classes/Hook.php(1043): ProductComments->hookFilterProductContent(Array)
#16 /var/www/sites/tshirtpa2/www/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#17 /var/www/sites/tshirtpa2/www/classes/Hook.php(981): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#18 /var/www/sites/tshirtpa2/www/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#19 /var/www/sites/tshirtpa2/www/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#20 /var/www/sites/tshirtpa2/www/classes/Dispatcher.php(510): ControllerCore->run()
#21 /var/www/sites/tshirtpa2/www/index.php(29): DispatcherCore->dispatch()
#22 {main}
Next Doctrine\DBAL\Exception: An exception occurred while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673 in /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php:142
Stack trace:
#0 /var/www/sites/tshirtpa2/www/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#1 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(352): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#2 /var/www/sites/tshirtpa2/www/var/cache/dev/FrontContainer.php(788): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#3 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#4 /var/www/sites/tshirtpa2/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#5 /var/www/sites/tshirtpa2/www/classes/module/Module.php(3446): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#6 /var/www/sites/tshirtpa2/www/modules/productcomments/productcomments.php(921): ModuleCore->get('product_comment...')
#7 /var/www/sites/tshirtpa2/www/classes/Hook.php(1043): ProductComments->hookFilterProductContent(Array)
#8 /var/www/sites/tshirtpa2/www/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#9 /var/www/sites/tshirtpa2/www/classes/Hook.php(981): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#10 /var/www/sites/tshirtpa2/www/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#11 /var/www/sites/tshirtpa2/www/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#12 /var/www/sites/tshirtpa2/www/classes/Dispatcher.php(510): ControllerCore->run()
#13 /var/www/sites/tshirtpa2/www/index.php(29): DispatcherCore->dispatch()
#14 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: An exception occurred while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673 in /var/www/sites/tshirtpa2/www/classes/Hook.php:431
Stack trace:
#0 /var/www/sites/tshirtpa2/www/classes/Hook.php(981): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#1 /var/www/sites/tshirtpa2/www/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#2 /var/www/sites/tshirtpa2/www/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#3 /var/www/sites/tshirtpa2/www/classes/Dispatcher.php(510): ControllerCore->run()
#4 /var/www/sites/tshirtpa2/www/index.php(29): DispatcherCore->dispatch()
#5 {main}
thrown in /var/www/sites/tshirtpa2/www/classes/Hook.php on line 431