# 由于旧的多选用户字段插件，无法创建新帐户

**URL:** <https://meta.discourse.org/t/can-no-longer-create-new-accounts-due-to-old-multi-select-user-field-plugin/281700>\
**Category:** Support\
**Created:** [2023 年10 月 10 日 04:47 UTC](https://meta.discourse.org/t/can-no-longer-create-new-accounts-due-to-old-multi-select-user-field-plugin/281700 "2023-10-10T04:47:42Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

作者： ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
发布日期： [2023 年10 月 10 日 18:44 UTC](https://meta.discourse.org/t/can-no-longer-create-new-accounts-due-to-old-multi-select-user-field-plugin/281700/12 "2023-10-10T18:44:42Z")

</div>

> [@Paul\_King](#):
>
> 尽管用户使用旧插件最初输入的值会显示在用户点击另一个用户头像时，但原始数据会显示方括号和引号。

这并不奇怪。这意味着迁移所需的数据已在数据库中，但很可能其格式不像我希望的那样便于迁移。

为确认这一点，请尝试运行以下数据浏览器查询：

```plaintext
SELECT * FROM user_custom_fields
WHERE name = 'user_field_1'
ORDER BY user_id

```

该查询结果中有用的信息将是 `value` 列中设置的内容。理想情况下，结果应类似于此，每个用户选择的选项都有一个单独的条目：

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/e/3/9e3a86d175edcccd4177510a0626d51d2bf1f647.png)

我怀疑您会发现，用户选择的每个选项的值将存在于同一行中。例如，`[this, that]` 或 `\"[this, that]\"`。如果正确，您能否发布一些值条目？

可能需要一些反复试验才能弄清楚如何将值解析为 Discourse 期望的格式。

---

_[View the full topic](https://meta.discourse.org/t/can-no-longer-create-new-accounts-due-to-old-multi-select-user-field-plugin/281700)._
