0

I am trying to login in admin but it display "There has been an error processing your request".

It generate error in like "Undefined offset: 2 in C:\xampp\htdocs\m24\lib\internal\Magento\Framework\Encryption\Encryptor.php on line 591"

Also try to create new user and login but that solution is not working in my case. Note that I am using magento 2.4. Thanks in advance.

8
  • what version of PHP are you using? – Diana Botean Mar 3 at 7:41
  • @DianaBotean PHP version 7.4.8 – krishna Mar 3 at 8:56
  • can you check if you have the sodium extension installed and enabled? php -i | grep -i libsodium or php -i | grep "sodium" – Diana Botean Mar 3 at 9:04
  • 1
    Yes, extension is enabled. – krishna Mar 3 at 9:21
  • as per Magento system requirements, it says that Magento supports PHP 7.4.0.. can you try maybe with 7.4.0 and see if it helps? and also try removing the existing admin user and recreating it afterwards. – Diana Botean Mar 3 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.