# Adding New Category crashes the whole forum

**URL:** https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397
**Category:** Support
**Created:** [2017年八月3日 17:17 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397 "2017-08-03T17:17:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2017年八月3日 17:17 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/1 "2017-08-03T17:17:38Z")

</div>

Hi I have created a new category and it crashes. How to make it work again? Currently, it’s just blank. I have restarted the app. Same result blank except for the /logs.

Thanks to anyone who can help.

Here are the logs:

```
ActionView::Template::Error (undefined method `html_safe' for nil:NilClass Did you mean? html_safe?) /var/www/discourse/app/views/categories/index.html.erb:9:in `block in _app_views_categories_index_

ActionView::Template::Error (undefined method `html_safe' for nil:NilClass Did you mean? html_safe?) /var/www/discourse/app/views/categories/index.html.erb:9:in `block in _app_views_categories_index_

ActionView::Template::Error (undefined method `html_safe' for nil:NilClass Did you mean? html_safe?) /var/www/discourse/app/views/categories/index.html.erb:9:in `block in _app_views_categories_index_

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2017年八月3日 17:22 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/2 "2017-08-03T17:22:08Z")

</div>

Are you on latest Discourse? We had a bug here when the description was null, but I believe we got a PR to fix that.

---

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2017年八月3日 17:23 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/3 "2017-08-03T17:23:57Z")

</div>

Yes, I am. How do I now fix it, so that the site will be live again? Thanks 🙂

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2017年八月3日 17:35 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/4 "2017-08-03T17:35:11Z")

</div>

Can you please go to `/admin/upgrade` page and updated manually? I just created a new category locally and I can’t repro this problem.

---

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2017年八月3日 17:37 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/5 "2017-08-03T17:37:32Z")

</div>

The update to latest version isn’t clickable - should I upgrade the docker\_manager first?

Thanks. 🙂

 ![18 AM](https://global.discourse-cdn.com/meta/original/3X/e/6/e6afd48a941b3a30228b3b18f012eb8577c06666.png)

---

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2017年八月3日 18:02 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/6 "2017-08-03T18:02:30Z")

</div>

@Falco site is live now. Thank you. 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年八月3日 19:46 UTC](https://meta.discourse.org/t/adding-new-category-crashes-the-whole-forum/67397/7 "2017-08-03T19:46:59Z")

</div>


