# User merge failed, corrupted database entries due to third party plugin

**URL:** https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159
**Category:** Support
**Tags:** merge-user
**Created:** [October 4, 2020, 5:09am UTC](https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159 "2020-10-04T05:09:03Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [October 5, 2020, 7:08pm UTC](https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159/24 "2020-10-05T19:08:37Z")

</div>

You can update the custom field of that topic and remove the non-existent ID. @angus might want to add support for user merging to his plugin.

> [@Rake task for merging users](https://meta.discourse.org/t/rake-task-for-merging-users/89086/1):
>
> **Plugin authors** can hook into the merge process by handling the `:merging_users` event. I’ve already implemented it for the polls plugin, which merges the votes of the two merged users.

---

_[View the full topic](https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159)._
