Unable to add any component

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

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

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?

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 ?

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