Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct('mysql:host=127....', 'reina_new', '0]hehG#bbw8^', Array)
#1 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127....', 'reina_new', '0]hehG#bbw8^', Array)
#2 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'reina_new', '0]hehG#bbw8^', Array)
#3 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#4 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#8 /home/reina/public_html/var/cache/dev/FrontContainer.php(3984): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#9 /home/reina/public_html/var/cache/dev/FrontContainer.php(4956): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#10 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#11 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#12 /home/reina/public_html/classes/module/Module.php(3469): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#13 /home/reina/public_html/modules/productcomments/productcomments.php(949): ModuleCore->get('product_comment...')
#14 /home/reina/public_html/classes/Hook.php(1077): ProductComments->hookFilterProductContent(Array)
#15 /home/reina/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#16 /home/reina/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#17 /home/reina/public_html/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#18 /home/reina/public_html/override/controllers/front/ProductController.php(25): ProductControllerCore->initContent()
#19 /home/reina/public_html/classes/controller/Controller.php(319): ProductController->initContent()
#20 /home/reina/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#21 /home/reina/public_html/index.php(28): DispatcherCore->dispatch()
#22 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1040] Too many connections in /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127....', 'reina_new', '0]hehG#bbw8^', Array)
#2 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'reina_new', '0]hehG#bbw8^', Array)
#3 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#4 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#8 /home/reina/public_html/var/cache/dev/FrontContainer.php(3984): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#9 /home/reina/public_html/var/cache/dev/FrontContainer.php(4956): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#10 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#11 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#12 /home/reina/public_html/classes/module/Module.php(3469): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#13 /home/reina/public_html/modules/productcomments/productcomments.php(949): ModuleCore->get('product_comment...')
#14 /home/reina/public_html/classes/Hook.php(1077): ProductComments->hookFilterProductContent(Array)
#15 /home/reina/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#16 /home/reina/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#17 /home/reina/public_html/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#18 /home/reina/public_html/override/controllers/front/ProductController.php(25): ProductControllerCore->initContent()
#19 /home/reina/public_html/classes/controller/Controller.php(319): ProductController->initContent()
#20 /home/reina/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#21 /home/reina/public_html/index.php(28): DispatcherCore->dispatch()
#22 {main}
Next Doctrine\DBAL\Exception\DriverException: An exception occurred in driver: SQLSTATE[HY000] [1040] Too many connections in /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128
Stack trace:
#0 /home/reina/public_html/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/reina/public_html/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 /home/reina/public_html/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 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'reina_new', '0]hehG#bbw8^', Array)
#4 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect()
#5 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#6 /home/reina/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#7 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#8 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#9 /home/reina/public_html/var/cache/dev/FrontContainer.php(3984): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#10 /home/reina/public_html/var/cache/dev/FrontContainer.php(4956): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#11 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#12 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#13 /home/reina/public_html/classes/module/Module.php(3469): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#14 /home/reina/public_html/modules/productcomments/productcomments.php(949): ModuleCore->get('product_comment...')
#15 /home/reina/public_html/classes/Hook.php(1077): ProductComments->hookFilterProductContent(Array)
#16 /home/reina/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#17 /home/reina/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#18 /home/reina/public_html/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#19 /home/reina/public_html/override/controllers/front/ProductController.php(25): ProductControllerCore->initContent()
#20 /home/reina/public_html/classes/controller/Controller.php(319): ProductController->initContent()
#21 /home/reina/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#22 /home/reina/public_html/index.php(28): DispatcherCore->dispatch()
#23 {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 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php:142
Stack trace:
#0 /home/reina/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#1 /home/reina/public_html/var/cache/dev/FrontContainer.php(3984): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#2 /home/reina/public_html/var/cache/dev/FrontContainer.php(4956): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#3 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#4 /home/reina/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#5 /home/reina/public_html/classes/module/Module.php(3469): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#6 /home/reina/public_html/modules/productcomments/productcomments.php(949): ModuleCore->get('product_comment...')
#7 /home/reina/public_html/classes/Hook.php(1077): ProductComments->hookFilterProductContent(Array)
#8 /home/reina/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(ProductComments), 'hookFilterProdu...', Array)
#9 /home/reina/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#10 /home/reina/public_html/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#11 /home/reina/public_html/override/controllers/front/ProductController.php(25): ProductControllerCore->initContent()
#12 /home/reina/public_html/classes/controller/Controller.php(319): ProductController->initContent()
#13 /home/reina/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#14 /home/reina/public_html/index.php(28): DispatcherCore->dispatch()
#15 {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 /home/reina/public_html/classes/Hook.php:431
Stack trace:
#0 /home/reina/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(ProductComments), 'filterProductCo...', Array)
#1 /home/reina/public_html/controllers/front/ProductController.php(432): HookCore::exec('filterProductCo...', Array, NULL, false, true, false, NULL, true)
#2 /home/reina/public_html/override/controllers/front/ProductController.php(25): ProductControllerCore->initContent()
#3 /home/reina/public_html/classes/controller/Controller.php(319): ProductController->initContent()
#4 /home/reina/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#5 /home/reina/public_html/index.php(28): DispatcherCore->dispatch()
#6 {main}
thrown in /home/reina/public_html/classes/Hook.php on line 431