Step by step:
1.- login into dotlrn with a user with permission of superadministrator.
2.- I click on option "users" on dotlrn toolbar
3.- Select the user that I want to delete (ban access to the dotlrn system)
4.- I click on "delete"
5.- Appears the error