Join GitHub today
[Resolved] Mageplaza_Core has been already defined #3
Few customers reported to us the following issue:
Module 'Mageplaza_Core' from 'app/code/Mageplaza/Core' has been already defined in 'vendor/mageplaza/core-m2'.
There are 2 different ways to install Mageplaza extensions:
Because you installed Mageplaza Extensions via composer and now install by copying a package from our store.
Step 1: You should DELETE Core module from
Run the following command:
Step 2: Now install Mageplaza_Core again run upgrade command line to resolve the issue.
Step 3: Check result
Check the result, if there is still an issue, feel free to leave a comment here or contact us
Ok, so I delete
Edit: finally it worked, but first I had to remove the line of the las module I added to composer.json
Is there a final solution?
For the moment every time I do some
The only way to get around it is like @eddyonboard described, installing the new
However I can not confirm. Every time I run composer and a dependency check is made, it will reinstall mageplaza/core-m2
So my solution was to run:
I also created a pull request to correct the composer.json
Information for anyone using theme Porto.
If you use Porto theme you will get Mageplaza_Core has been already defined error.
are included in the Porto installation.
I did these steps.
I dont know if it's ok to leave the app/code/Mageplaza/LayeredNavigation but it's disabled so it should not be any problem.
@inelukipg Sorry if that made you confused.
As our business grows, we changed the name time to time. The reason is Magento offers 2 different ways of installing extensions so some installed by Composer, others prefer copy/paste method.
I can't not remove your core plugin I'm getting this error and Mageplaza_Affiliate is disabled as well as Mageplaza_Core. after doing this I also tried to remove the extention by doing composer remove mageplaza/module-core and I'm getting this error now
PHP Fatal error: Class 'Mageplaza\Core\Helper\AbstractData' not found in /chroot/home/newcloud/cloudvdesign.com/html/app/code/Mageplaza/Affiliate/Helper/Data.php on line 20
Fatal error: Class 'Mageplaza\Core\Helper\AbstractData' not found in /chroot/home/newcloud/cloudvdesign.com/html/app/code/Mageplaza/Affiliate/Helper/Data.php on line 20
We want to remove this plugin completely because it simply doesnt work
Your store cannot run without Mageplaza_Core module.
You removed the old Core module, then you should install the new one via composer:
Step 2 : Now run upgrade command line to resolve the issue.
referenced this issue
Nov 16, 2017
@imsamthomas your solution on top works well for one time, but you need to update the Norwegian language pack to avoid the problems, every composer command re installs core-m2.
Please merge the pull request asap - mageplaza/magento-2-norwegian-nynorsk-language-pack#3
@imsamthomas Can you help me for install sociallogin_v184.108.40.206_ce_mageplaza extension in magento 2 store.in sociallogin_v220.127.116.11_ce_mageplaza extension ZIP file i have 2 folder -app, lib.i have read your all reply for install this extension(sociallogin_v18.104.22.168_ce_mageplaza).but i need help
and Mageplaza_Core module i have zip file.when i have extract this file i have found