I executed git reset --hard
, but now I get:
PHP Fatal error: Uncaught Error: Class 'MagentoSetupApplication' not found in /home/xy/vendor/magento/framework/Console/Cli.php:79
Stack trace:
#0 /home/xy/bin/magento(22): MagentoFrameworkConsoleCli->__construct('Magento CLI')
#1 {main}
thrown in /home/xy/vendor/magento/framework/Console/Cli.php on line 79
I executed composer update
in hope that this fixes it, but it doesnt. How can I fix?
2
Answers
It turned out that
git reset --hard
destroyed mysetup
folder for unknown reasons and not evengit pull
fixed it.So I had to copy the folder from another project. Now it works.
I just run
git reset --hard
again and that fixed the issue.