# Unable to add any component

**URL:** <https://discuss.openedx.org/t/unable-to-add-any-component/6038>\
**Category:** Site Operations Help\
**Tags:** koa\
**Created:** [November 2, 2021, 7:38am UTC](https://discuss.openedx.org/t/unable-to-add-any-component/6038 "2021-11-02T07:38:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RS2-CN3](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/rs2-cn3/32/2557_2.png) [@RS2-CN3](https://discuss.openedx.org/u/RS2-CN3)\
**Post date:** [November 2, 2021, 7:38am UTC](https://discuss.openedx.org/t/unable-to-add-any-component/6038/1 "2021-11-02T07:38:06Z")

</div>

Hello,

When I try to add a course in studio, I am unable to add any component. There are no buttons.

this is the error msg in my browser

```auto
commons.08d0223e6e2c7ac3a3c1.b63eedcf0326.js:1 TypeError: Cannot read properties of undefined (reading 'category')
    at child.eval (eval at _.template (cms-base-vendor.fc516f7ace47.js:12212), <anonymous>:14:22)
    at child.template (cms-base-vendor.fc516f7ace47.js:12219)
    at child.initialize (container.7d50814822ef36058f75.14682eac4a46.js:1)
    at child.Backbone.View (cms-base-vendor.fc516f7ace47.js:14976)
    at child.constructor (commons.08d0223e6e2c7ac3a3c1.b63eedcf0326.js:1)
    at new child (cms-base-vendor.fc516f7ace47.js:15736)
    at container.7d50814822ef36058f75.14682eac4a46.js:1
    at Function._.each._.forEach (cms-base-vendor.fc516f7ace47.js:10911)
    at child.each (cms-base-vendor.fc516f7ace47.js:15142)
    at child.render (container.7d50814822ef36058f75.14682eac4a46.js:1) "TypeError: Cannot read properties of undefined (reading 'category')\n at child.eval (eval at _.template (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:12212:20), <anonymous>:14:22)\n at child.template (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:12219:21)\n at child.initialize (http://192.168.0.101:18010/static/studio/bundles/js/factories/container.7d50814822ef36058f75.14682eac4a46.js:1:4742)\n at child.Backbone.View (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:14976:21)\n at child.constructor (http://192.168.0.101:18010/static/studio/bundles/commons.08d0223e6e2c7ac3a3c1.b63eedcf0326.js:1:25005)\n at new child (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:15736:41)\n at http://192.168.0.101:18010/static/studio/bundles/js/factories/container.7d50814822ef36058f75.14682eac4a46.js:1:3302\n at Function._.each._.forEach (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:10911:9)\n at child.each (http://192.168.0.101:18010/static/studio/js/cms-base-vendor.fc516f7ace47.js:15142:28)\n at child.render (http://192.168.0.101:18010/static/studio/bundles/js/factories/container.7d50814822ef36058f75.14682eac4a46.js:1:3275)"

```

in /edx/var/log/cms/edx.log

```auto
Sent course_published signal to <function_listen_for_course_publish at 0x7f824eb09940> with kwargs {'course_key': CourseLocator('Test', 'TE101', '2021_T2', None, None)}. Response was: None

```

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![chintan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chintan/32/52_2.png) [@chintan](https://discuss.openedx.org/u/chintan)\
**Post date:** [November 19, 2021, 5:57am UTC](https://discuss.openedx.org/t/unable-to-add-any-component/6038/2 "2021-11-19T05:57:34Z")

</div>

Hi,

Can you restart your system and compile all the assets and then try to do the same ?

If the error persists can you please post logs once more ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [February 17, 2022, 5:57am UTC](https://discuss.openedx.org/t/unable-to-add-any-component/6038/3 "2022-02-17T05:57:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
