Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/var/cache/" is not writable in /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php:209
Stack trace:
#0 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/var...')
#1 /var/www/html/vendor/colinmollenhour/cache-backend-file/File.php(86): Zend_Cache_Backend_File->setCacheDir('/var/www/html/v...')
#2 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array)
#3 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true)
#4 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(442): Zend_Cache::factory('Magento\\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true)
#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(Object(Closure))
#7 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#8 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array)
#9 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(444): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array)
#10 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Factory.php(178): Magento\Framework\App\Cache\Frontend\Factory->createCacheWithDefaultOptions(Array)
#11 /var/www/html/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create(Array)
#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('default')
#14 /var/www/html/vendor/magento/framework/App/Interception/Cache/CompiledConfig.php(29): Magento\Framework\App\Cache\Type\FrontendPool->get('compiled_config')
#15 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\Interception\Cache\CompiledConfig->__construct(Object(Magento\Framework\App\Cache\Type\FrontendPool))
#16 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#17 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...')
#18 /var/www/html/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php(117): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#19 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Compiled), Array)
#20 /var/www/html/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array)
#21 /var/www/html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/var/www/html', Array)
#22 /var/www/html/pub/index.php(27): Magento\Framework\App\Bootstrap::create('/var/www/html', Array)
#23 {main}
thrown in /var/www/html/vendor/magento/zendframework1/library/Zend/Cache.php on line 209