# User data corruption in phpBB3 to WP/Discourse migration

**URL:** <https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538>\
**Category:** Migration\
**Created:** [June 7, 2023, 2:40pm UTC](https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538 "2023-06-07T14:40:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [June 7, 2023, 3:57pm UTC](https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538/2 "2023-06-07T15:57:19Z")

</div>

Hi Ryan,

> [@kiefferr](#):
>
> We had a number of these duplicate users which I gather most likely came from anonymous users on the imported phpBB3 data file.

You might have a look at these files and see if you can find some useful information:

> <https://github.com/discourse/discourse/blob/96c6e535a6eb1e799c2322d6a23be9fcb5827932/script/import_scripts/phpbb3/database/database_3_0.rb#L33>

Also:

> <https://github.com/discourse/discourse/blob/main/script/import_scripts/phpbb3/importer.rb#L96>

And:

> <https://github.com/discourse/discourse/blob/main/script/import_scripts/phpbb3/importers/user_importer.rb#L72>

Maybe you can modify this part not to import anonymous users, or find some clue that would lead to your weird issue.

---

_[View the full topic](https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538)._
