I had that same issue:
https://meta.discourse.org/t/cannot-delete-user-make-sure-all-posts-are-deleted/25233/62?u=omarfilip