# 还原备份时发生错误：discourse\_functions.raise\_discourse\_voting\_category\_settings\_readonly()不存在

**URL:** https://meta.discourse.org/t/an-error-occurred-while-restoring-from-a-backup-discourse-functions-raise-discourse-voting-category-settings-readonly-does-not-exist/319988
**Category:** Self-hosting
**Tags:** backups
**Created:** [2024年八月3日 20:22 UTC](https://meta.discourse.org/t/an-error-occurred-while-restoring-from-a-backup-discourse-functions-raise-discourse-voting-category-settings-readonly-does-not-exist/319988 "2024-08-03T20:22:36Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![exlabs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/exlabs/32/437527_2.png) [@exlabs](https://meta.discourse.org/u/exlabs)
#### Post date: [2024年八月5日 12:35 UTC](https://meta.discourse.org/t/an-error-occurred-while-restoring-from-a-backup-discourse-functions-raise-discourse-voting-category-settings-readonly-does-not-exist/319988/3 "2024-08-05T12:35:41Z")

</div>

你好，

我没有，问题是未安装[Post Voting Plugin](https://meta.discourse.org/t/discourse-post-voting/227808)。有趣的是，它并未在主站点上启用（只是默认安装），但我猜这足以导致错误。谢谢。

---

_[View the full topic](https://meta.discourse.org/t/an-error-occurred-while-restoring-from-a-backup-discourse-functions-raise-discourse-voting-category-settings-readonly-does-not-exist/319988)._
