When i try to upgrade the setup from the magento root folder in cmd, using

php bin/magento setup:upgrade

i get below error

Autoload error: An abstract factory could not create an instance of magentosetup consolecommandmoduleuninstallcommand(alias: Magento\Setup\Console\Command\Module UninstallCommand).

Can anyone suggest what is the issue.?

  • Can you try clean var/* folders and run composer install? – KAndy Oct 16 '15 at 9:46
  • clean all var/* folders? – Manashvi Birla Oct 16 '15 at 9:48
  • yes, rm -rf {magento_root}/var/* – KAndy Oct 16 '15 at 9:49
  • i get this error. pasted.co/0635cc8f can u please check – Manashvi Birla Oct 16 '15 at 9:54
  • which magento version do you use and how do you install it (git clone or composer install)? – KAndy Oct 16 '15 at 10:00

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.