1

I am facing this error after a move to new server Magento customer login

{"0":"Notice: Undefined offset: 2 in /www/web/demo/vendor/magento/framework/Encryption/Encryptor.php on line 588"

PHP Version is the same: PHP Version 7.2.24-he.0

Sodium from Frank Denis

What can I do to solve this?

Thanks In advance..!

3
  • Have you faced this error when you log in to admin panel? Nov 30, 2019 at 9:09
  • No, admin login worked without problems.
    – eddi
    Nov 30, 2019 at 15:51
  • @SanjayGohil, yes, I faced this issue while admin login, I created a new admin too but that did not help Sep 14, 2020 at 20:28

2 Answers 2

2

We are facing the same issue.

For me, it got solved after installing PHP version 7.2 and installing the php7.2-sodium extension

Try this solution and let me know if it works for you.

2
  • Thanks, @Prince Kumar it's work for me Nov 30, 2019 at 9:12
  • Welcome sagar. Hope this help you. Nov 30, 2019 at 9:14
1

First of all, check if you have the sodium ext in your PHP using the command below.

php -i | grep -i libsodium

I had the same issue accessing the admin panel even with the Sodium extension installed, I solved it recreating the admin user using Magerun:

wget https://files.magerun.net/n98-magerun2.phar && chmod +x ./n98-magerun2.phar && alias magerun="./n98-magerun2.phar"

magerun admin:user:delete admin

magerun admin:user:create --admin-user="admin" --admin-password="pa55w0rd123" --admin-email="[email protected]" --admin-firstname="Admin" --admin-lastname="Admin"
3
  • did not work for me :( Sep 14, 2020 at 20:44
  • 'Command "admin:user:delete" is not defined'
    – 00-BBB
    Sep 24, 2020 at 11:52
  • 1
    It's fixed @00-BBB , I added the command to download Magerun to run it! Sep 24, 2020 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.