Error: Missing required argument $routerList

Submitted by deeperdata - 7 months ago

Error: Missing required argument $routerList of Magento\Framework\App\RouterList. If at any point your Magento instance is complaining about this error, it's most likely due to a missing app/etc/env.php file or app/etc/config.php file. You may need to recreate or restore these files. If all else fails then go through the default installation method for Magento 2. Here is a thread regarding it in Magento 2's issue tracker on GitHub: https://github.com/magento/magento2/issues/5031. After replacing the config.php file you'll probably need to run bin/magento module:enable --all if you've introduced new modules. After that you will need to rerun compilation if you'e using it; bin/magento setup:di:compile. Finally, in my experience Magento's error reporting will probably request that you then run bin/magento setup:upgrade. All the usual cheat codes but I've had to do it in this order now for two separate Magento 2 instances..

There has been an error processing your request
Missing required argument $routerList of Magento\Framework\App\RouterList.
Error log record number: 514628680379
affiliate_link
Learn PHP
comments powered by Disqus
Proudly hosted on Digital Ocean