I'm facing the terrible issue, I can't run any commands via terminal. It says the below error:

Class Magento\Framework\App\ResourceConnection\Proxy does not exist

In frontend:

enter image description here

Can anyone please help me to solve this issue?

  • did you create any new module ? – Shafeel Sha Aug 9 '19 at 6:22
  • I have installed a module but that wasn't worked so I have disabled the module. After then I can't run any commands. It says the above mentioned error – Siva Aug 9 '19 at 6:25
  • please copy and remove new added module and try – Shafeel Sha Aug 9 '19 at 6:26
  • I have done that as well – Siva Aug 9 '19 at 6:26
  • then now you can run commands ? – Shafeel Sha Aug 9 '19 at 6:27

I think the issue was new added module and its naming conventions.

First you need to disable/ remove your new added module. Then delete your generated and cache code folder and run php bin/magento setup:upgrade and php bin/magento setup:di:compile commands.

Hope it will fix your issue.

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.