Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: Directory "/home/staging/public_html/var/cache/" cannot be created Warning!mkdir(): Permission denied in /home/staging/public_html/vendor/magento/framework/Filesystem/Driver/File.php:272
Stack trace:
#0 /home/staging/public_html/vendor/magento/framework/Filesystem/Driver/File.php(243): Magento\Framework\Filesystem\Driver\File->mkdirRecursive('/home/staging/p...', 511)
#1 /home/staging/public_html/vendor/magento/framework/Filesystem/Directory/Write.php(99): Magento\Framework\Filesystem\Driver\File->createDirectory('/home/staging/p...', 511)
#2 /home/staging/public_html/vendor/magento/framework/App/Cache/Frontend/Factory.php(312): Magento\Framework\Filesystem\Directory\Write->create()
#3 /home/staging/public_html/vendor/magento/framework/App/Cache/Frontend/Factory.php(146): Magento\Framework\App\Cache\Frontend\Factory->_getBackendOptions(Array)
#4 /home/staging/public_html/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create(Array)
#5 /home/staging/public_html/vendor/magento/framework/App/Cache/Frontend/Pool.php(156): Magento\Framework\App\Cache\Frontend\Pool->_initialize()
#6 /home/staging/public_html/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get('default')
#7 /home/staging/public_html/vendor/magento/framework/App/Cache/Type/Config.php(52): Magento\Framework\App\Cache\Type\FrontendPool->get('config')
#8 /home/staging/public_html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\Config->_getFrontend()
#9 /home/staging/public_html/vendor/magento/framework/App/ObjectManager/ConfigLoader.php(73): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...')
#10 /home/staging/public_html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(80): Magento\Framework\App\ObjectManager\ConfigLoader->load('global')
#11 /home/staging/public_html/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array)
#12 /home/staging/public_html/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array)
#13 /home/staging/public_html/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/home/staging/p...', Array)
#14 /home/staging/public_html/pub/static.php(10): Magento\Framework\App\Bootstrap::create('/home/staging/p...', Array)
#15 {main}
thrown in /home/staging/public_html/vendor/magento/framework/Filesystem/Driver/File.php on line 272