2

We want to enable users to self register to the community but this error is displayed upon clicking the Sign Up button:

Your request cannot be processed at this time. The site administrator has been alerted.

I have double checked that:

  • The community is published.
  • The Account Owner have a User Role assigned.
  • The site guest user does have Create and Read permissions on the Account and Contact objects.
  • Self-registration is enabled for the community.

The error received in the email is:

There was an error in registering a user in site [Community Name]. The error message is: DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): User, original object: Contact.

All of this is out of the box functionality. Apex and Visualforce Pages are also not modified. We are using the Community Builder Page > Register - not the Default Page for Self-Register.

Any help will be appreciated!

  • The error means you are updating setup and non setup object in the same transaction so you get this error. Weird thing is you are just hitting the sign up button and you get this error. Can you increase logs for site guest user and see whats wrong in logs? – RedDevil Mar 23 '18 at 4:37
  • I tried using debug logs but nothing will be logged since external users are the ones who are trying to sign up. Do you have other ideas on why this is happening? Thanks – Max Mar 23 '18 at 13:15

Your Answer

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

Browse other questions tagged or ask your own question.