Fatal error: Uncaught RuntimeException: Could not connect to database. Message from SQL Server: SQLSTATE[HY000] [1040] Too many connections in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php:100
Stack trace:
#0 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Session.php(58): Shopware\Components\DependencyInjection\Bridge\Db::createPDO()
#1 /var/www/html/shopware/var/cache/production_202306271137/proxies/ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer.php(7902): Shopware\Components\DependencyInjection\Bridge\Session->createSaveHandler()
#2 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(257): ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer->getSession_SaveHandlerService()
#3 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(231): Symfony\Component\DependencyInjection\Container->make()
#4 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(209): Symfony\Component\DependencyInjection\Container->get()
#5 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(133): Shopware\Components\DependencyInjection\Container->doLoad()
#6 /var/www/html/shopware/var/cache/production_202306271137/proxies/ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer.php(7898): Shopware\Components\DependencyInjection\Container->get()
#7 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(257): ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer->getSessionService()
#8 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(231): Symfony\Component\DependencyInjection\Container->make()
#9 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(209): Symfony\Component\DependencyInjection\Container->get()
#10 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(133): Shopware\Components\DependencyInjection\Container->doLoad()
#11 /var/www/html/shopware/custom/plugins/MaxiaTaxSwitch/Service/TaxSwitchService.php(108): Shopware\Components\DependencyInjection\Container->get()
#12 /var/www/html/shopware/var/cache/production_202306271137/proxies/ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer.php(6583): MaxiaTaxSwitch\Service\TaxSwitchService->__construct()
#13 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(257): ShopwareProduction9b531f83033059a6e66539c2a7d2f03922fd6c52ProjectContainer->getMaxia_TaxSwitch_Subscriber_UserDataService()
#14 /var/www/html/shopware/vendor/symfony/dependency-injection/Container.php(231): Symfony\Component\DependencyInjection\Container->make()
#15 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(209): Symfony\Component\DependencyInjection\Container->get()
#16 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(133): Shopware\Components\DependencyInjection\Container->doLoad()
#17 /var/www/html/shopware/engine/Shopware/Components/ContainerAwareEventManager.php(209): Shopware\Components\DependencyInjection\Container->get()
#18 /var/www/html/shopware/engine/Shopware/Components/ContainerAwareEventManager.php(143): Shopware\Components\ContainerAwareEventManager->lazyLoad()
#19 /var/www/html/shopware/engine/Library/Enlight/Event/EventManager.php(206): Shopware\Components\ContainerAwareEventManager->getListeners()
#20 /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Container.php(68): Enlight_Event_EventManager->notify()
#21 /var/www/html/shopware/engine/Shopware/Components/ShopRegistrationService.php(61): Shopware\Components\DependencyInjection\Container->set()
#22 /var/www/html/shopware/engine/Shopware/Components/ShopRegistrationService.php(55): Shopware\Components\ShopRegistrationService->registerResources()
#23 /var/www/html/shopware/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(99): Shopware\Components\ShopRegistrationService->registerShop()
#24 /var/www/html/shopware/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Core_Router_Bootstrap->onRouteStartup()
#25 /var/www/html/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Plugin->execute()
#26 /var/www/html/shopware/engine/Library/Enlight/Controller/Front.php(160): Enlight_Event_EventManager->notify()
#27 /var/www/html/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#28 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#29 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#30 /var/www/html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#31 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward()
#32 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#33 /var/www/html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#34 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup()
#35 /var/www/html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#36 /var/www/html/shopware/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#37 {main}
thrown in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php on line 100