cancel
Showing results for 
Search instead for 
Did you mean: 

There are no commands defined in the “cache” namespace

There are no commands defined in the “cache” namespace

For a full description of the issue and every detail please refer to

http://magento.stackexchange.com/questions/122574/there-are-no-commands-defined-in-the-cache-namespa...

I explained everything there

Tags (2)
1 REPLY

Re: There are no commands defined in the “cache” namespace

I have gone through the same problem. I have done same as you delete pub/static content but after re-deploying I didn't get the solutions. Again I installed fresh Magento. After some time again I face this issue but this time, I used the best approach. Hope this will work for you :
Use the following command from your magento root directory

Step 1 - sudo rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/*
Step 2 - sudo chmod 777 var -R
Step 3 - sudo chmod 777 pub -R
Step 4 - sudo php bin/magento setup:static-content:deploy
Repeat step 2 & 3.

 

Thanks,

Manish