Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: The file "/home/demo/public_html/var/generation/Symfony/Component/Console/Input/ArrayInputFactory.php" cannot be deleted Warning!unlink(/home/demo/public_html/var/generation/Symfony/Component/Console/Input/ArrayInputFactory.php): Permission denied in /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php:382 Stack trace: #0 /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php(405): Magento\Framework\Filesystem\Driver\File->deleteFile('/home/demo/publ...') #1 /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php(403): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/home/demo/publ...') #2 /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php(403): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/home/demo/publ...') #3 /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php(403): Magento\Framework\Filesystem\Driver\File->deleteDire in /home/demo/public_html/vendor/magento/framework/Filesystem/Driver/File.php on line 382