PDOException: PDO::__construct(): MySQL server has gone away in /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'foodplus_fkema', 'oQY_r~TP0A^6', Array) #1 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(517): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/foodplus/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/foodplus/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(103): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(122): Magento\Store\Model\StoreRepository->getById('1') #16 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(171): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(109): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /home/foodplus/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /home/foodplus/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /home/foodplus/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /home/foodplus/public_html/vendor/magento/framework/Session/Config.php(156): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #24 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #25 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #26 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #27 /home/foodplus/public_html/vendor/magento/framework/App/Response/Http.php(81): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #28 /home/foodplus/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(14): 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), Object(Magento\Framework\Stdlib\DateTime), NULL) #29 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\App\Response\Http\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), Object(Magento\Framework\Stdlib\DateTime), NULL) #30 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #31 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #32 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #33 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #34 /home/foodplus/public_html/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #35 /home/foodplus/public_html/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #36 {main} Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'foodplus_fkema', 'oQY_r~TP0A^6', Array) #1 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(517): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/foodplus/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/foodplus/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(103): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(122): Magento\Store\Model\StoreRepository->getById('1') #16 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(171): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(109): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /home/foodplus/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /home/foodplus/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /home/foodplus/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /home/foodplus/public_html/vendor/magento/framework/Session/Config.php(156): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #24 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #25 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #26 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #27 /home/foodplus/public_html/vendor/magento/framework/App/Response/Http.php(81): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #28 /home/foodplus/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(14): 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), Object(Magento\Framework\Stdlib\DateTime), NULL) #29 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\App\Response\Http\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), Object(Magento\Framework\Stdlib\DateTime), NULL) #30 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #31 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #32 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #33 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #34 /home/foodplus/public_html/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #35 /home/foodplus/public_html/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #36 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2006] MySQL server has gone away in /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(517): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 /home/foodplus/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 /home/foodplus/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 /home/foodplus/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 /home/foodplus/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 /home/foodplus/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #13 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(103): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #14 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreRepository.php(122): Magento\Store\Model\StoreRepository->getById('1') #15 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(171): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #16 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreResolver.php(109): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #17 /home/foodplus/public_html/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #18 /home/foodplus/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #19 /home/foodplus/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #20 /home/foodplus/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #21 /home/foodplus/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #22 /home/foodplus/public_html/vendor/magento/framework/Session/Config.php(156): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #23 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #24 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #25 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #26 /home/foodplus/public_html/vendor/magento/framework/App/Response/Http.php(81): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #27 /home/foodplus/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(14): 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), Object(Magento\Framework\Stdlib\DateTime), NULL) #28 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\App\Response\Http\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), Object(Magento\Framework\Stdlib\DateTime), NULL) #29 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #30 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #31 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #32 /home/foodplus/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #33 /home/foodplus/public_html/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #34 /home/foodplus/public_html/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #35 {main}