I modified register page and added address fields. So, when user register address will be save.
But having this error when try to save customer.
Delete operation is forbidden for current area
When i removed this code - <input name="create_address" value="1" type="hidden">
then customer save but address not save.
But if added this code then above error is showing and redirect to register page.
Any idea guys?
Thanks in advance!
Magento\Framework\Model\AbstractModel::beforeDelete
. This is the only place where the error message appears in the code. Check what is Magento trying to delete and take ti from there. Or add what you find as details in your question. – Marius♦ Feb 8 '18 at 13:22