( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect() #3 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect() #4 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #5 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform() #6 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform() #7 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform() #8 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(365): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection() #9 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(801): FrontContainer->getDoctrine_Dbal_DefaultConnectionService() #10 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService() #11 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make() #12 /www/wwwroot/toptechauto.ro/classes/module/Module.php(3476): Symfony\Component\DependencyInjection\Container->get() #13 /www/wwwroot/toptechauto.ro/modules/productcomments/productcomments.php(949): ModuleCore->get() #14 /www/wwwroot/toptechauto.ro/classes/Hook.php(1083): ProductComments->hookFilterProductContent() #15 /www/wwwroot/toptechauto.ro/classes/Hook.php(421): HookCore::coreCallHook() #16 /www/wwwroot/toptechauto.ro/classes/Hook.php(989): HookCore::callHookOn() #17 /www/wwwroot/toptechauto.ro/controllers/front/ProductController.php(432): HookCore::exec() #18 /www/wwwroot/toptechauto.ro/classes/controller/Controller.php(319): ProductControllerCore->initContent() #19 /www/wwwroot/toptechauto.ro/classes/Dispatcher.php(510): ControllerCore->run() #20 /www/wwwroot/toptechauto.ro/index.php(46): DispatcherCore->dispatch() #21 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1040] Too many connections in /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 Stack trace: #0 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect() #3 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect() #4 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #5 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform() #6 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform() #7 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform() #8 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(365): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection() #9 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(801): FrontContainer->getDoctrine_Dbal_DefaultConnectionService() #10 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService() #11 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make() #12 /www/wwwroot/toptechauto.ro/classes/module/Module.php(3476): Symfony\Component\DependencyInjection\Container->get() #13 /www/wwwroot/toptechauto.ro/modules/productcomments/productcomments.php(949): ModuleCore->get() #14 /www/wwwroot/toptechauto.ro/classes/Hook.php(1083): ProductComments->hookFilterProductContent() #15 /www/wwwroot/toptechauto.ro/classes/Hook.php(421): HookCore::coreCallHook() #16 /www/wwwroot/toptechauto.ro/classes/Hook.php(989): HookCore::callHookOn() #17 /www/wwwroot/toptechauto.ro/controllers/front/ProductController.php(432): HookCore::exec() #18 /www/wwwroot/toptechauto.ro/classes/controller/Controller.php(319): ProductControllerCore->initContent() #19 /www/wwwroot/toptechauto.ro/classes/Dispatcher.php(510): ControllerCore->run() #20 /www/wwwroot/toptechauto.ro/index.php(46): DispatcherCore->dispatch() #21 {main} Next Doctrine\DBAL\Exception\DriverException: An exception occurred in driver: SQLSTATE[HY000] [1040] Too many connections in /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128 Stack trace: #0 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() #1 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\DBAL\DBALException::wrapException() #2 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(31): Doctrine\DBAL\DBALException::driverException() #3 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(412): Doctrine\DBAL\Driver\PDOMySql\Driver->connect() #4 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(475): Doctrine\DBAL\Connection->connect() #5 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #6 /www/wwwroot/toptechauto.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform() #7 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform() #8 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform() #9 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(365): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection() #10 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(801): FrontContainer->getDoctrine_Dbal_DefaultConnectionService() #11 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService() #12 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make() #13 /www/wwwroot/toptechauto.ro/classes/module/Module.php(3476): Symfony\Component\DependencyInjection\Container->get() #14 /www/wwwroot/toptechauto.ro/modules/productcomments/productcomments.php(949): ModuleCore->get() #15 /www/wwwroot/toptechauto.ro/classes/Hook.php(1083): ProductComments->hookFilterProductContent() #16 /www/wwwroot/toptechauto.ro/classes/Hook.php(421): HookCore::coreCallHook() #17 /www/wwwroot/toptechauto.ro/classes/Hook.php(989): HookCore::callHookOn() #18 /www/wwwroot/toptechauto.ro/controllers/front/ProductController.php(432): HookCore::exec() #19 /www/wwwroot/toptechauto.ro/classes/controller/Controller.php(319): ProductControllerCore->initContent() #20 /www/wwwroot/toptechauto.ro/classes/Dispatcher.php(510): ControllerCore->run() #21 /www/wwwroot/toptechauto.ro/index.php(46): 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 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php:142 Stack trace: #0 /www/wwwroot/toptechauto.ro/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform() #1 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(365): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection() #2 /www/wwwroot/toptechauto.ro/var/cache/dev/FrontContainer.php(801): FrontContainer->getDoctrine_Dbal_DefaultConnectionService() #3 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService() #4 /www/wwwroot/toptechauto.ro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make() #5 /www/wwwroot/toptechauto.ro/classes/module/Module.php(3476): Symfony\Component\DependencyInjection\Container->get() #6 /www/wwwroot/toptechauto.ro/modules/productcomments/productcomments.php(949): ModuleCore->get() #7 /www/wwwroot/toptechauto.ro/classes/Hook.php(1083): ProductComments->hookFilterProductContent() #8 /www/wwwroot/toptechauto.ro/classes/Hook.php(421): HookCore::coreCallHook() #9 /www/wwwroot/toptechauto.ro/classes/Hook.php(989): HookCore::callHookOn() #10 /www/wwwroot/toptechauto.ro/controllers/front/ProductController.php(432): HookCore::exec() #11 /www/wwwroot/toptechauto.ro/classes/controller/Controller.php(319): ProductControllerCore->initContent() #12 /www/wwwroot/toptechauto.ro/classes/Dispatcher.php(510): ControllerCore->run() #13 /www/wwwroot/toptechauto.ro/index.php(46): 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 /www/wwwroot/toptechauto.ro/classes/Hook.php on line 434
( ! ) 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 /www/wwwroot/toptechauto.ro/classes/Hook.php on line 434
Call Stack
#TimeMemoryFunctionLocation
10.0001361168{main}( ).../index.php:0
20.12871859568DispatcherCore->dispatch( ).../index.php:46
30.13802028960ControllerCore->run( ).../Dispatcher.php:510
40.18863753304ProductControllerCore->initContent( ).../Controller.php:319
50.28938677456HookCore::exec( $hook_name = 'filterProductContent', $hook_args = ['object' => class PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray { private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}arrayAccessList = class ArrayObject { ... }; private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}arrayAccessIterator = class ArrayIterator { ... }; private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}methodCacheResults = [...]; private $imageRetriever = class PrestaShop\PrestaShop\Adapter\Image\ImageRetriever { ... }; private $link = class Link { ... }; private $priceFormatter = class PrestaShop\PrestaShop\Adapter\Product\PriceFormatter { ... }; private $productColorsRetriever = class PrestaShop\PrestaShop\Adapter\Product\ProductColorsRetriever { ... }; private $translator = class PrestaShopBundle\Translation\TranslatorComponent { ... }; protected $settings = class PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings { ... }; protected $product = [...]; private $language = class Language { ... }; private $hookManager = class PrestaShop\PrestaShop\Adapter\HookManager { ... }; private $configuration = class PrestaShop\PrestaShop\Adapter\Configuration { ... } }], $id_module = NULL, $array_return = FALSE, $check_exceptions = TRUE, $use_push = FALSE, $id_shop = NULL, $chain = TRUE ).../ProductController.php:432
60.28998771104HookCore::callHookOn( $module = class ProductComments { public $id = '22'; public $version = '8.0.0'; public $database_version = NULL; public $registered_version = NULL; public $ps_versions_compliancy = ['min' => '1.7.8', 'max' => '8.2.2']; public $dependencies = []; public $name = 'productcomments'; public $displayName = 'Product Comments'; public $description = 'Allow users to post reviews on your products and/or rate them based on specific criteria.'; public $confirmUninstall = ''; public $author = 'PrestaShop'; public $author_uri = ''; public $module_key = ''; public $bootstrap = TRUE; public $description_full = NULL; public $additional_description = NULL; public $compatibility = NULL; public $nb_rates = NULL; public $avg_rate = NULL; public $badges = NULL; public $message = ''; public $logo = ''; public $options = NULL; public $optionsHtml = NULL; public $need_instance = 0; public $tab = 'front_office_features'; public $active = 1; public $warning = NULL; public $enable_device = 7; public $limited_countries = []; public $controllers = []; public $installed = NULL; public $show_quick_view = FALSE; protected $_lang = []; protected $_path = '/modules/productcomments/'; protected $local_path = '/www/wwwroot/toptechauto.ro/modules/productcomments/'; protected $_errors = []; protected $_confirmations = []; protected $table = 'module'; protected $identifier = 'id_module'; protected $context = class Context { public $cart = class Cart { ... }; public $customer = class Customer { ... }; public $cookie = class Cookie { ... }; public $session = class Symfony\Component\HttpFoundation\Session\Session { ... }; public $link = class Link { ... }; public $country = class Country { ... }; public $employee = NULL; public $controller = class ProductController { ... }; public $override_controller_name_for_translations = NULL; public $language = class Language { ... }; public $currency = class Currency { ... }; public $currentLocale = class PrestaShop\PrestaShop\Core\Localization\Locale { ... }; public $tab = NULL; public $shop = class Shop { ... }; public $tmpOldShop = NULL; public $smarty = class SmartyDev { ... }; public $mobile_detect = class Mobile_Detect { ... }; public $mode = NULL; public $container = NULL; public $virtualTotalTaxExcluded = 0; public $virtualTotalTaxIncluded = 0; protected $translator = class PrestaShopBundle\Translation\TranslatorComponent { ... }; protected $priceComputingPrecision = 2; protected $mobile_device = NULL; protected $is_mobile = FALSE; protected $is_tablet = FALSE }; protected $smarty = class Smarty_Data { public $_objType = 4; public $template_class = 'Smarty_Internal_Template'; public $tpl_vars = [...]; public $parent = class SmartyDev { ... }; public $config_vars = [...]; public $ext = class Smarty_Internal_Extension_Handler { ... }; public $dataObjectName = 'Data_object 6'; public $smarty = class SmartyDev { ... } }; protected $current_subtemplate = NULL; protected $tabs = []; private ${ModuleCore}container = class FrontContainer { protected $parameterBag = NULL; protected $services = [...]; protected $privates = [...]; protected $fileMap = [...]; protected $methodMap = [...]; protected $factories = [...]; protected $aliases = [...]; protected $loading = [...]; protected $resolving = [...]; protected $syntheticIds = [...]; private ${Symfony\Component\DependencyInjection\Container}envCache = [...]; private ${Symfony\Component\DependencyInjection\Container}compiled = FALSE; private ${Symfony\Component\DependencyInjection\Container}getEnv = class Closure { virtual $closure = "$this->getEnv", ... }; private $parameters = [...]; private $getService = class Closure { virtual $closure = "$this->getService", ... }; private $loadedDynamicParameters = [...]; private $dynamicParameters = [...] }; public $multistoreCompatibility = 0; private $_html = ''; private $_productCommentsCriterionTypes = []; private $_baseUrl = NULL; private $langId = 1; private $shopId = 1 }, $hookName = 'filterProductContent', $hookArgs = ['object' => class PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray { private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}arrayAccessList = class ArrayObject { ... }; private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}arrayAccessIterator = class ArrayIterator { ... }; private ${PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray}methodCacheResults = [...]; private $imageRetriever = class PrestaShop\PrestaShop\Adapter\Image\ImageRetriever { ... }; private $link = class Link { ... }; private $priceFormatter = class PrestaShop\PrestaShop\Adapter\Product\PriceFormatter { ... }; private $productColorsRetriever = class PrestaShop\PrestaShop\Adapter\Product\ProductColorsRetriever { ... }; private $translator = class PrestaShopBundle\Translation\TranslatorComponent { ... }; protected $settings = class PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings { ... }; protected $product = [...]; private $language = class Language { ... }; private $hookManager = class PrestaShop\PrestaShop\Adapter\HookManager { ... }; private $configuration = class PrestaShop\PrestaShop\Adapter\Configuration { ... } }, 'cookie' => class Cookie { protected $_content = [...]; protected $_name = 'PrestaShop-eaf1143be9f946e6b89873003775da01'; protected $_expire = 1776695597; protected $_domain = 'toptechauto.ro'; protected $_sameSite = 'Lax'; protected $_path = '/'; protected $cipherTool = class PhpEncryption { ... }; protected $_modified = TRUE; protected $_allow_writing = TRUE; protected $_salt = 'ZfJ05EamXpdMaLpCqC8wEuoRmODVyMyi'; protected $_standalone = FALSE; protected $_secure = TRUE; protected $session = NULL }, 'cart' => class Cart { public $id = NULL; public $id_lang = 1; protected $lang_associated = NULL; public $id_shop = 1; public $id_shop_list = [...]; protected $get_shop_from_context = TRUE; protected $table = 'cart'; protected $identifier = 'id_cart'; protected $fieldsRequired = [...]; protected $fieldsSize = [...]; protected $fieldsValidate = [...]; protected $fieldsRequiredLang = [...]; protected $fieldsSizeLang = [...]; protected $fieldsValidateLang = [...]; protected $tables = [...]; protected $webserviceParameters = [...]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = [...]; protected $update_fields = NULL; public $force_id = FALSE; public $id_shop_group = 1; public $id_address_delivery = 0; public $id_address_invoice = 0; public $id_currency = 1; public $id_customer = NULL; public $id_guest = 0; public $recyclable = FALSE; public $gift = FALSE; public $gift_message = NULL; public $mobile_theme = NULL; public $date_add = NULL; public $secure_key = NULL; public $id_carrier = 0; public $date_upd = NULL; public $checkedTos = FALSE; public $pictures = NULL; public $textFields = NULL; public $delivery_option = NULL; public $allow_seperated_package = FALSE; protected $_products = NULL; protected $_taxCalculationMethod = '0'; protected $configuration = class PrestaShop\PrestaShop\Adapter\Configuration { ... }; protected $addressFactory = class PrestaShop\PrestaShop\Adapter\AddressFactory { ... }; protected $shouldSplitGiftProductsQuantity = FALSE; protected $shouldExcludeGiftsDiscount = FALSE }, 'altern' => 1] ).../Hook.php:989