# 无法删除主题 - 错误 500，rake 中止！

**URL:** https://meta.discourse.org/t/cant-delete-topics-error-500-rake-aborted/210407
**Category:** Support
**Created:** [2021年十一月29日 14:31 UTC](https://meta.discourse.org/t/cant-delete-topics-error-500-rake-aborted/210407 "2021-11-29T14:31:48Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [2021年十一月30日 07:43 UTC](https://meta.discourse.org/t/cant-delete-topics-error-500-rake-aborted/210407/8 "2021-11-30T07:43:46Z")

</div>

看看这个。您是否正尝试处理一个未附加任何组的受限类别？

> [@MessageBus::InvalidMessageTarget (MessageBus::InvalidMessageTarget)](https://meta.discourse.org/t/messagebus-invalidmessagetarget-messagebus-invalidmessagetarget/190199):
>
> When trying to create a new topic in a specific category, I get a 500 error. It seems to be specific to this category, since I can create a topic without problems in other categories. Investigating lead me to MessageBus::InvalidMessageTarget (MessageBus::InvalidMessageTarget) I tracked it down to lib/models/user\_action.rb (line 293). On line 265 of the same file is a todo: TODO there are conditions when this is called and user\_id was already rolled back and is invalid. I think this is wha…

---

_[View the full topic](https://meta.discourse.org/t/cant-delete-topics-error-500-rake-aborted/210407)._
