Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/var/cache/" is not writable in /var/www/html/vendor/magento/zend-cache/library/Zend/Cache.php:209
Stack trace:
#0 /var/www/html/vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException()
#1 /var/www/html/vendor/colinmollenhour/cache-backend-file/File.php(86): Zend_Cache_Backend_File->setCacheDir()
#2 /var/www/html/vendor/magento/zend-cache/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct()
#3 /var/www/html/vendor/magento/zend-cache/library/Zend/Cache.php(94): Zend_Cache::_makeBackend()
#4 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(435): Zend_Cache::factory()
#5 /var/www/html/vendor/magento/framework/Cache/Frontend/Adapter/Zend.php(38): Magento\Framework\App\Cache\Frontend\Factory->Magento\Framework\App\Cache\Frontend\{closure}()
#6 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Cache\Frontend\Adapter\Zend->__construct()
#7 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#8 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create()
#9 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(431): Magento\Framework\ObjectManager\ObjectManager->create()
#10 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(178): Magento\Framework\App\Cache\Frontend\Factory->createCacheWithDefaultOptions()
#11 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create()
#12 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(156): Magento\Framework\App\Cache\Frontend\Pool->_initialize()
#13 /var/www/html/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get()
#14 /var/www/html/vendor/magento/framework/App/Interception/Cache/CompiledConfig.php(29): Magento\Framework\App\Cache\Type\FrontendPool->get()
#15 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\Interception\Cache\CompiledConfig->__construct()
#16 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#17 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create()
#18 /var/www/html/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php(117): Magento\Framework\ObjectManager\ObjectManager->get()
#19 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager()
#20 /var/www/html/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create()
#21 /var/www/html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#22 /var/www/html/pub/b2c/index.php(38): Magento\Framework\App\Bootstrap::create()
#23 {main}
thrown in /var/www/html/vendor/magento/zend-cache/library/Zend/Cache.php on line 209
Fatal error: Uncaught InvalidArgumentException: Cache frontend 'default' is not recognized. As well as defaultcache is not configured in /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php:162
Stack trace:
#0 /var/www/html/vendor/magento/framework/App/Cache.php(38): Magento\Framework\App\Cache\Frontend\Pool->get()
#1 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\Cache->__construct()
#2 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#3 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create()
#4 /var/www/html/vendor/magento/framework/App/Cache/Proxy.php(44): Magento\Framework\ObjectManager\ObjectManager->get()
#5 /var/www/html/vendor/magento/framework/App/Cache/Proxy.php(67): Magento\Framework\App\Cache\Proxy->_getCache()
#6 /var/www/html/vendor/magento/framework/App/ProductMetadata.php(78): Magento\Framework\App\Cache\Proxy->load()
#7 /var/www/html/vendor/mage2pro/core/Core/lib/version.php(35): Magento\Framework\App\ProductMetadata->getVersion()
#8 /var/www/html/vendor/mage2pro/core/Core/lib/cache/dfc.php(168): {closure}()
#9 /var/www/html/vendor/mage2pro/core/Core/lib/version.php(27): dfcf()
#10 /var/www/html/vendor/mage2pro/core/Qa/lib/context.php(9): df_magento_version()
#11 /var/www/html/vendor/mage2pro/core/Qa/lib/log.php(79): df_context()
#12 /var/www/html/vendor/mage2pro/core/Qa/lib/log.php(36): df_log_l()
#13 /var/www/html/vendor/mage2pro/core/Qa/Failure/Error.php(85): df_log()
#14 /var/www/html/vendor/mage2pro/core/registration.php(28): Df\Qa\Failure\Error::check()
#15 [internal function]: {closure}()
#16 {main}
thrown in /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php on line 162