# הקצאת קטגוריית אב לקטגוריה שכבר יש לה תת-קטגוריה גורמת לשגיאה

**URL:** https://meta.discourse.org/t/assigning-parent-category-to-a-category-that-already-has-subcategory-produces-error/173032
**Category:** Support
**Created:** [11 בדצמבר,‏ 2020,‏ 8:43pm UTC](https://meta.discourse.org/t/assigning-parent-category-to-a-category-that-already-has-subcategory-produces-error/173032 "2020-12-11T20:43:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [12 בדצמבר,‏ 2020,‏ 12:25am UTC](https://meta.discourse.org/t/assigning-parent-category-to-a-category-that-already-has-subcategory-produces-error/173032/2 "2020-12-12T00:25:05Z")

</div>

Do you know what version of Discourse your site is using? If your site is self-hosted, you can find the version near the top of the site’s admin dashboard. The reason I am asking is because I think Discourse should have prevented you from adding the parent category. When I try to do it, I get the following error:

 ![errormsg](https://global.discourse-cdn.com/meta/original/4X/a/1/d/a1db8dc13b22a0c172a97777bc9a877bf79062e4.png)

It is possible that you are running into a bug that has been fixed in a more recent version of Discourse. It is also possible that I am not reproducing the issue correctly.

---

_[View the full topic](https://meta.discourse.org/t/assigning-parent-category-to-a-category-that-already-has-subcategory-produces-error/173032)._
