I have upgraded my site from 2.1.6 to 2.2.4. I have got the below error while I am doing setup: upgrade command.

PHP Fatal error:  Uncaught Error: Call to undefined method Magento\Framework\Setup\FilePermissions::getMissingWritableDirectoriesForDbUpgrade() in /var/www/html/setup/src/Magento/Setup/Model/Installer.php:804

Please help to solve this issue

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.