PDOException: SQLSTATE[08004] [1040] Too many connections in /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'seva_vet', 'seva_vet', Array) #1 /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #5 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #6 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #7 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #8 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #9 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #10 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #11 /home/seva/vetshop.rs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #12 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #13 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #14 /home/seva/vetshop.rs/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #15 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #16 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config\Interceptor->get('scopes', 'stores/1', Array) #17 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #18 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #19 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #20 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #21 /home/seva/vetshop.rs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #22 /home/seva/vetshop.rs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #23 /home/seva/vetshop.rs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #24 /home/seva/vetshop.rs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #25 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/Interceptor.php(24): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores', NULL) #26 /home/seva/vetshop.rs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config\Interceptor->getValue('web/cookie/cook...', 'store') #27 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config\Interceptor), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #28 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #29 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #30 /home/seva/vetshop.rs/vendor/magento/framework/App/Response/Http.php(85): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #31 /home/seva/vetshop.rs/vendor/magento/module-media-storage/Model/File/Storage/Response.php(47): Magento\Framework\App\Response\Http->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime)) #32 /home/seva/vetshop.rs/generated/code/Magento/MediaStorage/Model/File/Storage/Response/Interceptor.php(14): Magento\MediaStorage\Model\File\Storage\Response->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #33 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\MediaStorage\Model\File\Storage\Response\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #34 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\MediaSt...', Array) #35 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...') #36 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaSt...') #37 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaSt...', NULL, 'response', 'Magento\\MediaSt...') #38 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaSt...', Array, Array) #39 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaSt...', Array, Array) #40 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaSt...', Array, Array) #41 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...', Array) #42 /home/seva/vetshop.rs/vendor/magento/framework/App/Bootstrap.php(235): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\MediaSt...', Array) #43 /home/seva/vetshop.rs/pub/get.php(81): Magento\Framework\App\Bootstrap->createApplication('Magento\\MediaSt...', Array) #44 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections in /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/seva/vetshop.rs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #4 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #5 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #6 /home/seva/vetshop.rs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #7 /home/seva/vetshop.rs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #8 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #9 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/seva/vetshop.rs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/seva/vetshop.rs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/seva/vetshop.rs/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config\Interceptor->get('scopes', 'stores/1', Array) #16 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #17 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #18 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #19 /home/seva/vetshop.rs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /home/seva/vetshop.rs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #21 /home/seva/vetshop.rs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #22 /home/seva/vetshop.rs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #23 /home/seva/vetshop.rs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #24 /home/seva/vetshop.rs/generated/code/Magento/Framework/App/Config/Interceptor.php(24): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores', NULL) #25 /home/seva/vetshop.rs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config\Interceptor->getValue('web/cookie/cook...', 'store') #26 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config\Interceptor), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #27 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #28 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #29 /home/seva/vetshop.rs/vendor/magento/framework/App/Response/Http.php(85): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #30 /home/seva/vetshop.rs/vendor/magento/module-media-storage/Model/File/Storage/Response.php(47): Magento\Framework\App\Response\Http->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime)) #31 /home/seva/vetshop.rs/generated/code/Magento/MediaStorage/Model/File/Storage/Response/Interceptor.php(14): Magento\MediaStorage\Model\File\Storage\Response->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #32 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\MediaStorage\Model\File\Storage\Response\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #33 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\MediaSt...', Array) #34 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...') #35 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\MediaSt...') #36 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\MediaSt...', NULL, 'response', 'Magento\\MediaSt...') #37 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\MediaSt...', Array, Array) #38 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\MediaSt...', Array, Array) #39 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\MediaSt...', Array, Array) #40 /home/seva/vetshop.rs/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...', Array) #41 /home/seva/vetshop.rs/vendor/magento/framework/App/Bootstrap.php(235): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\MediaSt...', Array) #42 /home/seva/vetshop.rs/pub/get.php(81): Magento\Framework\App\Bootstrap->createApplication('Magento\\MediaSt...', Array) #43 {main}