Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 2.48 KB

HOW-TO-INSTALL.md

File metadata and controls

68 lines (46 loc) · 2.48 KB

How to install Social Login for Magento 2

There are 2 different solutions to install Mageplaza extensions:

  • Solution #1. Install via Composer (Recommend)
  • Solution #2: Ready to paste (Not recommend)

Important:

  • 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.

Solution #1. Install via Composer (Recommend)

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

Solution #2: Ready to paste (Not recommend)

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 to app/code/Mageplaza/SocialLogin; You should create a folder path app/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

FAQs

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