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.
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.
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')