2

After I created a new module in Magento 2, I'm getting this error. Does anyone have a solution for this?

Running:

$ bin/magento module:status

Error:

Autoload error: An abstract factory could not create an instance of magentosetupconsolecommandconfigsetcommand(alias: Magento\Setup\Console\Command\ConfigSetCommand).root

4
  • Please provide more details eg. steps to reproduce, show your module code. Commented Sep 26, 2015 at 17:18
  • If you provide the full stack trace it will make it easier to help you. Commented Sep 28, 2015 at 14:02
  • It seems you get this error when there's a mistake in your module.xml file. If you go to the magento backend and try to clear the cache, you'll probably get a better error message. Make sure developer mode is activated though.
    – Vicky
    Commented Oct 18, 2015 at 15:57
  • It can be intl PHP extension disabled issue. I have same after enabling this extension this issue resolved Commented Sep 14, 2018 at 6:47

0

Browse other questions tagged or ask your own question.