# Flagged post difficult to restore (reason given)

**URL:** https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900
**Category:** Bug
**Created:** [April 30, 2026, 8:06am UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900 "2026-04-30T08:06:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bksubhuti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bksubhuti/32/254360_2.png) [@bksubhuti](https://meta.discourse.org/u/bksubhuti)
#### Post date: [April 30, 2026, 8:06am UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900/1 "2026-04-30T08:06:17Z")

</div>

**Priority/Severity** : medium

**Platform** : Discourse 3.6.0.beta3-latest

**Description** : Flagged post (creator of thread) cannot unflag.  
During the flag investigation, I immediately pushed the user to 0 and locked it.  
After he was cleared, we could not restore the post.  
This is because the user was trust 0 and cannot create posts.  
An error would occur to unflag the post (which created a thread topic) because user zero cannot create a thread.  
Solution: I unlocked the user and put him back to trust 1. Then I was able to restore his post.

**Reproducible steps** :  
Steps should be clear.

## Suggested Fix

Give the admin user some feedback what to do rather than “error”  
Perhaps ask the admin if he wants to unlock and move the user back to (whatever he was before). in this case trust 1.  
It looks like a bug, but i understood why it happened and fixed it.

I know I’m not on the latest build.. but I’m not far from latest build.  
I doubt this was fixed in the 2 month gap of builds that I’m behind.  
We love your product.. We appreciate your work.

---

<div class="post-metadata">

### Author: ![bksubhuti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bksubhuti/32/254360_2.png) [@bksubhuti](https://meta.discourse.org/u/bksubhuti)
#### Post date: [April 30, 2026, 11:30am UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900/2 "2026-04-30T11:30:41Z")

</div>

I did upgrade just now.. but this was a situational bug and cannot be reproduced, except on a test admin server. We were not so far out of date though.

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/8/3/f83fbe32f28fcaaf494b6ea1e9bba464d7e34fc3.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 21, 2026, 5:21pm UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900/3 "2026-05-21T17:21:17Z")

</div>

Nice find @bksubhuti 👍 Will be fixed by

[https://github.com/discourse/discourse/pull/40228](https://github.com/discourse/discourse/pull/40228)

---

<div class="post-metadata">

### Author: ![bksubhuti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bksubhuti/32/254360_2.png) [@bksubhuti](https://meta.discourse.org/u/bksubhuti)
#### Post date: [May 21, 2026, 6:06pm UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900/4 "2026-05-21T18:06:01Z")

</div>

Glad to help and glad to be helped.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 23, 2026, 6:00am UTC](https://meta.discourse.org/t/flagged-post-difficult-to-restore-reason-given/401900/5 "2026-05-23T06:00:00Z")

</div>

This topic was automatically closed after 36 hours. New replies are no longer allowed.
