Hi I am getting the below error

Autoload error: Module 'Mageplaza_Smtp' from '/home/goodwwdm/public_html/new/app /code/Mageplaza/Smtp' has been already defined in '/home/goodwwdm/public_html/ne w/vendor/mageplaza/module-smtp'.

how to resolve the error. Thanks in advance

  • As per your error, I think you have installed using composer as well manual into app/code, Remove anyone from app/code or from vendor using php bin/magento module:uninstall command github.com/mageplaza/module-core/issues/3 – Hitesh Nov 29 '18 at 7:11

It is saying like magento core vendor directory already have Mageplaza_Smtp installed. So solution is you can delete the whole folder located in app/code directory.

Delete /home/goodwwdm/public_html/new/app/code/Mageplaza/Smtp folder.

Run php bin/magento s:up && php bin/magento s:d:c && php bin/magento s:s:d -f && php bin/magento c:f

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.