# Tag gets broken if the first topic to use it is deleted

**URL:** <https://meta.discourse.org/t/tag-gets-broken-if-the-first-topic-to-use-it-is-deleted/51701>\
**Category:** Bug\
**Created:** [18. Oktober 2016 um 17:05 UTC](https://meta.discourse.org/t/tag-gets-broken-if-the-first-topic-to-use-it-is-deleted/51701 "2016-10-18T17:05:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GSeven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gseven/32/61731_2.png) [@GSeven](https://meta.discourse.org/u/GSeven)\
**Post date:** [18. Oktober 2016 um 18:05 UTC](https://meta.discourse.org/t/tag-gets-broken-if-the-first-topic-to-use-it-is-deleted/51701/6 "2016-10-18T18:05:45Z")

</div>

Thanks Rafael, that has worked.

I have undeleted the topics and deleted the tags from them. The tags now show up and can be added to new posts.

It appears to happen only if the tag is used and deleted in it’s first topic, if you have previous topics with the tag, it’s safe to delete the topic and the tag is still useable.

why deleting topics is not getting logged though i don’t know.

again, many thanks.

---

_[View the full topic](https://meta.discourse.org/t/tag-gets-broken-if-the-first-topic-to-use-it-is-deleted/51701)._
