- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2020
02:29 AM
05-28-2020
02:29 AM
magento 2.2.0 - cannot login- "An unspecified error occurred"
Hi,
we are experiencing issues with end-users trying to log in to the website and cannot.
they receive the error "An unspecified error occurred"
is there anything that can be done to resolve this I have 250 users affected.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2020
03:40 AM
05-28-2020
03:40 AM
Re: magento 2.2.0 - cannot login- "An unspecified error occurred"
Hello @harjinder_mahey
Can you check logs for specific error of Magento? var/log folder or any reports in var/report folder.
Apart from that you can just check by printing error message.
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.')
);
Manish Mittal
https://www.manishmittal.com/
https://www.manishmittal.com/