8

I am unable to login to customer account it is giving error 'an unspecified error occurred please contact us for assistance'. I have checked my customer_entity table has columns 'failures_num' and 'first_failure'. Still the issue is there.

7
  • Have you checked the error logs, are you using any third party extension? May 4, 2018 at 4:09
  • Yes I am using, and in error log it is not writing any error. May 4, 2018 at 5:05
  • Have you tried to disable any of the the third party modules? Are there any which alter / customize the customer log in ?
    – Condor
    May 4, 2018 at 6:41
  • check this if it helps magento.stackexchange.com/questions/179065/… May 4, 2018 at 6:41
  • yes both the columns are available May 8, 2018 at 5:56

1 Answer 1

17

You can check error. Go to file vendor/magento/module-customer/Controller/Account/LoginPost.php and put these lines

$message = $e->getMessage();
$this->messageManager->addError($message);

just before lines-

$this->messageManager->addError(
                        __('An unspecified error occurred. Please contact us for assistance.')
                    );

now on front try to login and check error.

1
  • In my case I enabled Sodium extension and restarted server Nov 25, 2021 at 14:31

Your Answer

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

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