Autoload errors may occur when using multiple installation solutions for the same product or for the shared packages.
Examples when this may occur:
- Installing a WeltPixel extension via Magento Marketplace composer (under vendor/weltpixel) and updating the extension manually (under app/code/WeltPixel) will cause an autoload error as the module is defined 2 times.
- Installing a WeltPixel extension via Magento Marketplace composer and a second one manually via weltlpixel.com manual installation. Both extensions use "Backend" dependancy pack, which is now installed in 2 locations: app/code/WeltPixel/Backend and vendor/weltpixel/m2-weltpixel-backend.
Uninstall the extension that is declared twice, by either of the approaches below:
- removing the version installed manually under app/code/WeltPixel/ExtensionName and keeping the one installed via composer
- removing the version installed via composer under vendor/weltpixel/extensionname and keeping the one installed manually
How to uninstall:
More Details about the Manual vs Composer uninstall process in the article below: