# Notification of a flag is shown but no active flag present

**URL:** <https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349>\
**Category:** Bug\
**Tags:** notifications\
**Created:** [2015年五月28日 10:08 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349 "2015-05-28T10:08:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![adundovi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adundovi/32/42645_2.png) [@adundovi](https://meta.discourse.org/u/adundovi)\
**Post date:** [2015年五月28日 10:08 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/1 "2015-05-28T10:08:32Z")

</div>

I have the same situation described as [here](https://meta.discourse.org/t/flagged-pms-show-notification-of-flag-to-moderators-but-are-not-viewable/22347), except that I have administration account, and the newest version of Discourse, so I should definitely see flagged PM. The flag notification is there, but there is no active flag listed.

I tried to rebuild Discoure’s container but it didn’t help. Is there any way to easily trace back where the “count” of flags is created?

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年五月28日 11:24 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/2 "2015-05-28T11:24:48Z")

</div>

Did you have Post Moderation Queue enabled at one point? Try re-enabling it and seeing if any posts are in the queue.

---

<div class="post-metadata">

**Author:** ![adundovi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adundovi/32/42645_2.png) [@adundovi](https://meta.discourse.org/u/adundovi)\
**Post date:** [2015年五月28日 11:52 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/3 "2015-05-28T11:52:58Z")

</div>

Hi @cpradio, what is the official name of this option (I cannot find it inside Settings)?

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年五月28日 12:06 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/4 "2015-05-28T12:06:41Z")

</div>

Okay, so I’m not 100% sure either… as I’ve only heard it being suggested as a possible issue from others, but maybe it deals with these two settings?  
 ![](https://global.discourse-cdn.com/meta/original/3X/f/f/ff47e330be6674fbc6d0f21e931bdce948300c4a.png)

Do you have the Akismet Plugin installed?

---

<div class="post-metadata">

**Author:** ![adundovi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adundovi/32/42645_2.png) [@adundovi](https://meta.discourse.org/u/adundovi)\
**Post date:** [2015年五月28日 12:42 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/5 "2015-05-28T12:42:24Z")

</div>

Thank you @cpradio I’ve fixed it thanks to your advice.

I’ve changed “approve post count” to some number. After that “Needs Approval” showed in “hamburger” menu where I found one post pending. I think that this behaviour should be considered as a bug and solution would be to add an additional check for showing this “Needs Approval” item in the menu, something like this in pseudocode:

```
if settings.approve_post_count == 0 and pending_posts == 0:
     menu.needs_approval.hide()

```

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年五月28日 12:51 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/6 "2015-05-28T12:51:25Z")

</div>

This has come up enough times that I don’t disagree with you. 😄

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2015年五月28日 15:55 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/7 "2015-05-28T15:55:31Z")

</div>

I agree this has come up enough times that we have to do something about it:

[https://github.com/discourse/discourse/commit/e52ed6606977fb10d88e9581260fe3f4727de972](https://github.com/discourse/discourse/commit/e52ed6606977fb10d88e9581260fe3f4727de972)

If any posts need approval the link will show up, even if the feature is disabled.

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2015年五月28日 15:55 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/8 "2015-05-28T15:55:41Z")

</div>



---

<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:** [2015年五月28日 16:02 UTC](https://meta.discourse.org/t/notification-of-a-flag-is-shown-but-no-active-flag-present/29349/9 "2015-05-28T16:02:54Z")

</div>

> [@eviltrout](#):
>
> I agree this has come up enough times that we have to do something about it:

Complaints Driven Development ™
