magespecialist / m2-MSP_CashOnDelivery

Cash on delivery module for Magento 2
52 stars 53 forks source link

How to Uninstall the extension #22

Closed shawkatvirtuos closed 7 years ago

shawkatvirtuos commented 7 years ago

Hello ,

I cannot remove the extension by deleting the folder , if I am trying to do so , I am getting error in autoloader

slackerzz commented 7 years ago

Take a look at this link: http://devdocs.magento.com/guides/v2.1/install-gde/install/cli/install-cli-uninstall-mods.html

shawkatvirtuos commented 7 years ago

I have tried this but is getting stuck at Removing code from Magento codebase, can you please tell me if there is any other way ? why deleting the file giving an autoloader error when upgradingt

PHP Warning: require(/var/www/html/magento2.test.com/trunk/vendor/msp/common/registration.php): failed to open stream: No such file or directory in /var/www/html/magento2.test.com/trunk/vendor/composer/autoload_real.php on line 60 PHP Fatal error: require(): Failed opening required '/var/www/html/magento2.test.com/trunk/vendor/msp/common/registration.php' (include_path='/var/www/html/magento2.test.com/trunk/vendor/magento/zendframework1/library:/var/www/html/magento2.test.com/trunk/vendor/phpunit/php-file-iterator:/var/www/html/magento2.test.com/trunk/vendor/phpunit/phpunit:/var/www/html/magento2.test.com/trunk/vendor/symfony/yaml:.:/usr/share/php') in /var/www/html/magento2.test.com/trunk/vendor/composer/autoload_real.php on line 60

slackerzz commented 7 years ago

try composer remove msp/cashondelivery

shawkatvirtuos commented 7 years ago

Thanks the same is working