InvalidArgumentException: Cache frontend 'default' is not recognized. As well as defaultcache is not configured in /var/www/html/magento2/vendor/magento/framework/App/Cache/Frontend/Pool.php:157 Stack trace: #0 /var/www/html/magento2/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get('default') #1 /var/www/html/magento2/vendor/magento/framework/App/Cache/Type/Config.php(49): Magento\Framework\App\Cache\Type\FrontendPool->get('config') #2 /var/www/html/magento2/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\Config->_getFrontend() #3 /var/www/html/magento2/vendor/magento/module-store/Model/StoresData.php(60): Magento\Framework\Cache\Frontend\Decorator\Bare->load('resolved_stores...') #4 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(138): Magento\Store\Model\StoresData->getStoresData('website', NULL) #5 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(97): Magento\Store\Model\StoreResolver->getStoresData() #6 /var/www/html/magento2/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #7 /var/www/html/magento2/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #8 /var/www/html/magento2/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #9 /var/www/html/magento2/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #10 /var/www/html/magento2/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #11 /var/www/html/magento2/vendor/justbetter/magento2-disable-spam-in-log/Helper/Data.php(64): Magento\Framework\App\Config->getValue('disablespaminlo...', 'stores', NULL) #12 /var/www/html/magento2/vendor/justbetter/magento2-disable-spam-in-log/Helper/Data.php(75): JustBetter\DisableSpamInLog\Helper\Data->getConfigValue('disablespaminlo...', NULL) #13 /var/www/html/magento2/vendor/justbetter/magento2-disable-spam-in-log/Helper/Data.php(80): JustBetter\DisableSpamInLog\Helper\Data->getGeneralConfig('enabled') #14 /var/www/html/magento2/generated/code/JustBetter/DisableSpamInLog/Helper/Data/Proxy.php(111): JustBetter\DisableSpamInLog\Helper\Data->canLog(400) #15 /var/www/html/magento2/vendor/justbetter/magento2-disable-spam-in-log/Magento/Framework/Logger/Handler/System.php(45): JustBetter\DisableSpamInLog\Helper\Data\Proxy->canLog(400) #16 /var/www/html/magento2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): JustBetter\DisableSpamInLog\Magento\Framework\Logger\Handler\System->write(Array) #17 /var/www/html/magento2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #18 /var/www/html/magento2/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'Lost connection...', Array) #19 /var/www/html/magento2/vendor/monolog/monolog/src/Monolog/Logger.php(712): Magento\Framework\Logger\Monolog->addRecord(400, 'Lost connection...', Array) #20 /var/www/html/magento2/vendor/magento/framework/Logger/LoggerProxy.php(126): Monolog\Logger->error('Lost connection...', Array) #21 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(268): Magento\Framework\Logger\LoggerProxy->error('Lost connection...') #22 /var/www/html/magento2/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #23 {main}