# Categories show as undefined

**URL:** https://meta.discourse.org/t/categories-show-as-undefined/168766
**Category:** Bug
**Created:** [October 30, 2020, 4:34pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766 "2020-10-30T16:34:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![honeymoose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honeymoose/32/198718_2.png) [@honeymoose](https://meta.discourse.org/u/honeymoose)
#### Post date: [October 30, 2020, 4:34pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/1 "2020-10-30T16:34:47Z")

</div>

After upgrade, categories show as undefined.

 ![categories-01](https://global.discourse-cdn.com/meta/original/3X/8/1/819761fe3bad3affee45a9bd645ab59b92b9c593.png)

Any suggestion how to debug and change it?

my like is:

> **[iSharkFly](https://www.isharkfly.com)**
>
> 飞鲨

Thanks

Looks like Discourse had the same issue.

 ![categories-02](https://global.discourse-cdn.com/meta/original/3X/5/a/5ac138df4ffce2c97bdbc95b64e41380ef66cdcd.png)

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [October 30, 2020, 5:25pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/2 "2020-10-30T17:25:57Z")

</div>

Ah yes I can see this here on Meta in the category dropdown. It does not show up when no category is selected, but does when a category is selected.

---

<div class="post-metadata">

### Author: ![honeymoose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honeymoose/32/198718_2.png) [@honeymoose](https://meta.discourse.org/u/honeymoose)
#### Post date: [October 30, 2020, 5:27pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/4 "2020-10-30T17:27:11Z")

</div>

That’s correct.

Thanks.

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [October 30, 2020, 5:27pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/5 "2020-10-30T17:27:32Z")

</div>

On second glance, it appears this might be a clear category state. I’ll have a look in the code. The name might be unclear.

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [October 30, 2020, 6:20pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/7 "2020-10-30T18:20:03Z")

</div>

PR is baking here: [FIX: Category drop shows undefined by justindirose · Pull Request #11090 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/11090)

As soon as we have a review, merge, and it goes through CI, you can upgrade to get the fix.

EDIT: Fixed merge and will be available in tests-passed soon.

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

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [October 30, 2020, 7:20pm UTC](https://meta.discourse.org/t/categories-show-as-undefined/168766/8 "2020-10-30T19:20:55Z")

</div>


