I'm using Magento 2.3.5, the customer registration doesn't work. It won't upload a new customer to the admin side. I am using custom attributes for my registration but that doesn't seem like the problem because if try to edit my profile the changes are saved on the admin. So I'm not sure what is the problem?
Of the custom customer attributes you have added, are any of them marked required and NOT visible on the customer registration page? If so, that could be the culprit. When the customer model gets saved, it will fail if there are attributes that are required that do not contain a value / fail the required validation.
I've had this happen with attributes I've created through extensions where they were initially created to be required but did not show up on the customer registration page.
- First check for form key in registration.php
I have added the form key code in the file after the tag at line 21.
<?php echo $block->getBlockHtml('formkey')?>
- If the form key is already there, then it may be a browser issue (in my case it was working in all browsers except chrome). In that case if you are on localhost try to use 127.0.01 instead of localhost or your intranet IP in my case it was like(184.108.40.206/magento2)
- If you are already on live site I think there is a problem with the session cookie with the chrome browser.