cancel
Showing results for 
Search instead for 
Did you mean: 

Magento broken after disabling modules

Magento broken after disabling modules

Hello!

I have a huge problem with Magento on a live platform.
I've disabled a few modules, which I don't use, via a command line. I've made it before already and had no problems with it.
But now I can't upgrade or deploy.
I get this error:

Invalid argument supplied for foreach() in /vendor/magento/module-store/Model/Config/Processor/Fallback.php on line 125

I've enabled the modules again, but the error stays.

What could I do?
Appreciate any help.

1 REPLY

Re: Magento broken after disabling modules

Just enable all module first which you have disable.

`Remove var folder from root.`
Run below command

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
php bin/magento setup:di:compile


If site working well then now disable one by one module and check site status.


If issue solved Click Kudos/accept as solutions.
If Issue Solved, Click Kudos/Accept As solutions.