0

After purchasing an item using guest checkout, there's an option to quickly create an account on the order success page. On choosing to create an account, there seems to be some sort of error - I can see a warning/alert icon and the div background turns red but there's no error message/text.

I'm not sure if this text is getting accidentally hidden by some CSS and I'm unable to find the error message strings in any of the Magento files.

Since there is no user input at this stage, and the email address has already been validated during checkout, I'm not sure what kind of error could come up at this stage.

How do I find out what the error is without the error text?

enter image description here

  • Can you share the screenshot of the screen which you see after clicking on the button? – Mohit Kumar Arora Oct 4 '18 at 7:31
  • @MohitKumarArora I've added a screenshot – 1stMainDev Oct 4 '18 at 7:42
0

You have to check the exception.log & system.log for track the issue.

When you a user click on Create an Account button then

vendor/magento/module-checkout/Controller/Account/Create

file hit. So you have to check catch section of try block this file

 catch (\Exception $e) {
            $this->messageManager->addException($e, $e->getMessage());
            throw $e;
        }

Your Answer

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

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