1

I am facing some issue while I am adding new customer account from frontend. When I fill the details of Create New Customer Account Form and submit the form then I got the error We can't save the customer. in frontend. enter image description here

And when I check for the customer record in admin panel under CUSTOMERS > All Customers. The customer record has been added to my records in admin panel. enter image description here

Then I followed this, and added $this->messageManager->addException($e, $e->getMessage()); to trace out the issue and it only shows the error:

Invalid argument

Is there any issue related to customer attribute? How can i debug and fix this issue?

----- Update -----

I checked system.log, It shows this error:

main.CRITICAL: Exception message: Invalid argument

Trace: #0 /var/www/html/mydomain.com/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('tcp://57:587')

2
  • 1
    copy error from exception.log and update this answer.
    – Sohel Rana
    Dec 23, 2019 at 14:11
  • Hi @SohelRana, I had updated my question. Dec 24, 2019 at 11:39

0

Your Answer

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