magentomagento-2.3

Notice: Undefined offset: 2 in vendor\magento\framework\Encryption\Encryptor.php


After login with correct credential, I cannot login into admin panel. Here is the error message I am getting:

1 exception(s):
Exception #0 (Exception): Notice: Undefined offset: 2 in D:\Xampp\htdocs\demo\webses\projname\vendor\magento\framework\Encryption\Encryptor.php on line 588

Solution

  • I had the same issue. Resolved it by creating a new admin user using terminal and using that new user to login backend.

    php bin/magento admin:user:create --admin-user=john --admin-password=doe123445 \
      --admin-email=hi@mydomian.com --admin-firstname=John --admin-lastname=Doe