I faced Same Issue,
I used 'cache_dir' => 'var/cache', but it not Work for me , Please tell me if any other Solution.
Thanks, it worked for me.
Thanks, it worked for me.
I found the solution Go to /vendor/magento/zendframework1/library/Zend/Cache/Backend and edit the file.php Search for 'cache_dir' => null, and replace it with 'cache_dir' => 'var/cache', DONE! For us it worked well.
That worked for me as well!
I am happy that it solved the problem, though it is absolutely not recommended to change core files. When updating to a newer version, this will be overridden.
Is there a "correct" way to override it permanently?