Overview:
I have an M2EPro module which I need to update but the current iteration seems to be in the wrong folder and may be causing issues with another module.
I originally thought that I had manually installed the module so I disabled it, ran setup:upgrade
and then removed the folders via FTP. I then got the following error(s):
Warning: require(/home/*****/*****/vendor/composer/../m2epro/magento2-extension/registration.php): failed to open stream: No such file or directory in /home/*****/*****/vendor/composer/autoload_real.php on line 80
Warning: require(/home/*****/*****/vendor/composer/../m2epro/magento2-extension/registration.php): failed to open stream: No such file or directory in /home/*****/*****/vendor/composer/autoload_real.php on line 8`0
Fatal error: require(): Failed opening required '/home/*****/*****/vendor/composer/../m2epro/magento2-extension/registration.php' (include_path='/home/*****/*****/vendor/magento/zendframework1/library:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/*****/*****/vendor/composer/autoload_real.php on line 80
This would suggest the current module was updated via composer so I would need to uninstall it via composer. So I put everything back as it was, and then tried this:
bin/magento module:uninstall m2e/ebay-amazon-magento2
This is the vendor/module name in the composer.json file in the module root. Result: Unknown module(s).
So I tried the same again with the module name that appears in module:status
– Ess_M2ePro
bin/magento module:uninstall Ess_M2ePro
Result: Ess_M2ePro is not an installed composer package
So I’ve got a manual uninstall telling me that it’s a composer package, and composer telling me it’s not.
Does anyone know how I can uninstall this, please?
TIA.