0

I was learning Magento 2 by creating a simple module, and after I deleted all files I'm getting this error. I removed the row from setup_module in DB and reindexed, but I'm still getting this error.

3

Mate, Hope you have deleted from app/code/ and setup_module table.

But the entry still exists in the app/etc/config.php file.

So, best way is to run following command again

php bin/magento setup:upgrade

Then

php bin/magento setup:static-content:deploy

Best of Luck!

  • You welcome @Tom! (Y) – Irfan Momin Oct 4 '17 at 11:12
1

Deleting module does not effect , If you do not want to use then disable the module by executing command in command line,

php bin/magento module:disable Vendor_Modulename

Just replace with Vendor_Modulename with your module and vendor name

  • Or remove entry from app/etc/config.php – Zefiryn Oct 4 '17 at 9:08

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.