There are 2 different solutions to install Mageplaza extensions:
- Solution #1. Install via Composer (Recommend)
- Solution #2: Ready to paste (Not recommend)
- We recommend you to duplicate your live store on a staging/test site and try installation on it in advanced.
- Back up Magento files and the store database.
- This extension requires Mageplaza_Core to be installed first.
You will get an error, if Mageplaza_Core is not installed.
Run the following command in Magento 2 root folder:
composer require mageplaza/magento-2-social-login-extension
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Please make sure that you've installed Mageplaza_Core module already.
If you don't want to install via composer, you can use this way.
- Download the latest version here
- Extract
master.zip
file toapp/code/Mageplaza/SocialLogin
; You should create a folder pathapp/code/Mageplaza/SocialLogin
if not exist. - Go to Magento root folder and run upgrade command line to install
Mageplaza_SocialLogin
:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Q: I got this error message:
Fatal error: Uncaught Error: Call to undefined method Mageplaza\\SocialLogin\\Helper\\Data::isEnabled()
A: Your store installed Mageplaza Core old version, please upgrade it.
Q: I got an error message:
Mageplaza_Core has been already defined
A: Mageplaza Core need to be installed, learn more.
Q: Install Core Module.
A: Our Core module is updated frequently so make sure that you are using the latest version of it.
Other messages that indicate missing Core module are:
- Mageplaza\Core\Helper\AbstractData does not exist.
- Class Mageplaza\<extension_name>\Helper\Data does not exist.
- Specified invalid parent id (Mageplaza_Core::menu)
- Call to undefined method Mageplaza\\PdfInvoice\\Helper\\Config::jsonEncode