# Heisenbug: can't delete user without post in rapid succession of deleting users without posts

**URL:** <https://meta.discourse.org/t/heisenbug-cant-delete-user-without-post-in-rapid-succession-of-deleting-users-without-posts/33564>\
**Category:** Bug\
**Created:** [22 Settembre 2015, 9:13am UTC](https://meta.discourse.org/t/heisenbug-cant-delete-user-without-post-in-rapid-succession-of-deleting-users-without-posts/33564 "2015-09-22T09:13:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)\
**Post date:** [22 Settembre 2015, 11:45am UTC](https://meta.discourse.org/t/heisenbug-cant-delete-user-without-post-in-rapid-succession-of-deleting-users-without-posts/33564/3 "2015-09-22T11:45:16Z")

</div>

It’s an import issue from MyBB. The search by email feature in MyBB is crappy and finds nothing for, for example, “freemail.hu”. I ran an import a few months ago, and even though since I’ve cleaned up more of the MyBB userbase, running the import again preserves users imported back then. In the meantime there has been activity in the Staff category, so I can’t wipe out the DB and import from scratch.

I’d be happy if there were a utility script I could tweak, that allowed simple batch operations on users, such as deleting users if their email matches a given domain.

---

_[View the full topic](https://meta.discourse.org/t/heisenbug-cant-delete-user-without-post-in-rapid-succession-of-deleting-users-without-posts/33564)._
