Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34
Stack trace:
#0 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php(34): PDO->__construct()
#1 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(378): Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
#2 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#3 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#4 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#5 /var/www/dev.montagne.com.ar/html/src/PrestaShopBundle/Doctrine/DatabaseConnection.php(60): Doctrine\DBAL\Connection->getDatabasePlatform()
#6 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): PrestaShopBundle\Doctrine\DatabaseConnection->getDatabasePlatform()
#7 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform()
#8 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(471): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection()
#9 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(849): FrontContainer::getDoctrine_Dbal_DefaultConnectionService()
#10 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(231): FrontContainer::getProductCommentRepositoryService()
#11 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(211): Symfony\Component\DependencyInjection\Container::make()
#12 /var/www/dev.montagne.com.ar/html/classes/module/Module.php(3568): Symfony\Component\DependencyInjection\Container->get()
#13 /var/www/dev.montagne.com.ar/html/modules/productcomments/productcomments.php(949): ModuleCore->get()
#14 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1251): ProductComments->hookFilterProductContent()
#15 /var/www/dev.montagne.com.ar/html/classes/Hook.php(462): HookCore::coreCallHook()
#16 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1143): HookCore::callHookOn()
#17 /var/www/dev.montagne.com.ar/html/controllers/front/ProductController.php(348): HookCore::exec()
#18 /var/www/dev.montagne.com.ar/html/classes/controller/Controller.php(330): ProductControllerCore->initContent()
#19 /var/www/dev.montagne.com.ar/html/classes/Dispatcher.php(487): ControllerCore->run()
#20 /var/www/dev.montagne.com.ar/html/index.php(78): DispatcherCore->dispatch()
#21 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1040] Too many connections in /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
Stack trace:
#0 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php(40): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(378): Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
#2 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#3 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#4 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#5 /var/www/dev.montagne.com.ar/html/src/PrestaShopBundle/Doctrine/DatabaseConnection.php(60): Doctrine\DBAL\Connection->getDatabasePlatform()
#6 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): PrestaShopBundle\Doctrine\DatabaseConnection->getDatabasePlatform()
#7 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform()
#8 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(471): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection()
#9 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(849): FrontContainer::getDoctrine_Dbal_DefaultConnectionService()
#10 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(231): FrontContainer::getProductCommentRepositoryService()
#11 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(211): Symfony\Component\DependencyInjection\Container::make()
#12 /var/www/dev.montagne.com.ar/html/classes/module/Module.php(3568): Symfony\Component\DependencyInjection\Container->get()
#13 /var/www/dev.montagne.com.ar/html/modules/productcomments/productcomments.php(949): ModuleCore->get()
#14 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1251): ProductComments->hookFilterProductContent()
#15 /var/www/dev.montagne.com.ar/html/classes/Hook.php(462): HookCore::coreCallHook()
#16 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1143): HookCore::callHookOn()
#17 /var/www/dev.montagne.com.ar/html/controllers/front/ProductController.php(348): HookCore::exec()
#18 /var/www/dev.montagne.com.ar/html/classes/controller/Controller.php(330): ProductControllerCore->initContent()
#19 /var/www/dev.montagne.com.ar/html/classes/Dispatcher.php(487): ControllerCore->run()
#20 /var/www/dev.montagne.com.ar/html/index.php(78): DispatcherCore->dispatch()
#21 {main}
Next Doctrine\DBAL\Exception\DriverException: An exception occurred in the driver: SQLSTATE[HY000] [1040] Too many connections in /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:118
Stack trace:
#0 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(1939): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
#1 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(1887): Doctrine\DBAL\Connection->handleDriverException()
#2 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(380): Doctrine\DBAL\Connection->convertException()
#3 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(453): Doctrine\DBAL\Connection->connect()
#4 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /var/www/dev.montagne.com.ar/html/vendor/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /var/www/dev.montagne.com.ar/html/src/PrestaShopBundle/Doctrine/DatabaseConnection.php(60): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): PrestaShopBundle\Doctrine\DatabaseConnection->getDatabasePlatform()
#8 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform()
#9 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(471): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection()
#10 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(849): FrontContainer::getDoctrine_Dbal_DefaultConnectionService()
#11 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(231): FrontContainer::getProductCommentRepositoryService()
#12 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(211): Symfony\Component\DependencyInjection\Container::make()
#13 /var/www/dev.montagne.com.ar/html/classes/module/Module.php(3568): Symfony\Component\DependencyInjection\Container->get()
#14 /var/www/dev.montagne.com.ar/html/modules/productcomments/productcomments.php(949): ModuleCore->get()
#15 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1251): ProductComments->hookFilterProductContent()
#16 /var/www/dev.montagne.com.ar/html/classes/Hook.php(462): HookCore::coreCallHook()
#17 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1143): HookCore::callHookOn()
#18 /var/www/dev.montagne.com.ar/html/controllers/front/ProductController.php(348): HookCore::exec()
#19 /var/www/dev.montagne.com.ar/html/classes/controller/Controller.php(330): ProductControllerCore->initContent()
#20 /var/www/dev.montagne.com.ar/html/classes/Dispatcher.php(487): ControllerCore->run()
#21 /var/www/dev.montagne.com.ar/html/index.php(78): 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/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php:142
Stack trace:
#0 /var/www/dev.montagne.com.ar/html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform()
#1 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(471): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection()
#2 /var/www/dev.montagne.com.ar/html/var/cache/dev/FrontContainer.php(849): FrontContainer::getDoctrine_Dbal_DefaultConnectionService()
#3 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(231): FrontContainer::getProductCommentRepositoryService()
#4 /var/www/dev.montagne.com.ar/html/vendor/symfony/dependency-injection/Container.php(211): Symfony\Component\DependencyInjection\Container::make()
#5 /var/www/dev.montagne.com.ar/html/classes/module/Module.php(3568): Symfony\Component\DependencyInjection\Container->get()
#6 /var/www/dev.montagne.com.ar/html/modules/productcomments/productcomments.php(949): ModuleCore->get()
#7 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1251): ProductComments->hookFilterProductContent()
#8 /var/www/dev.montagne.com.ar/html/classes/Hook.php(462): HookCore::coreCallHook()
#9 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1143): HookCore::callHookOn()
#10 /var/www/dev.montagne.com.ar/html/controllers/front/ProductController.php(348): HookCore::exec()
#11 /var/www/dev.montagne.com.ar/html/classes/controller/Controller.php(330): ProductControllerCore->initContent()
#12 /var/www/dev.montagne.com.ar/html/classes/Dispatcher.php(487): ControllerCore->run()
#13 /var/www/dev.montagne.com.ar/html/index.php(78): 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/dev.montagne.com.ar/html/classes/Hook.php:484
Stack trace:
#0 /var/www/dev.montagne.com.ar/html/classes/Hook.php(1143): HookCore::callHookOn()
#1 /var/www/dev.montagne.com.ar/html/controllers/front/ProductController.php(348): HookCore::exec()
#2 /var/www/dev.montagne.com.ar/html/classes/controller/Controller.php(330): ProductControllerCore->initContent()
#3 /var/www/dev.montagne.com.ar/html/classes/Dispatcher.php(487): ControllerCore->run()
#4 /var/www/dev.montagne.com.ar/html/index.php(78): DispatcherCore->dispatch()
#5 {main}
thrown in /var/www/dev.montagne.com.ar/html/classes/Hook.php on line 484