Instance config may reference un-existent categories
Symptoms
About page doesn't show up and console display the following error message:
core.js:6479 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'label')
TypeError: Cannot read properties of undefined (reading 'label')
at instance.service.ts:86
Cause
A PeerTube instance may be associated with one or many categories. Config may still reference categories which were deleted afterward.
Workaround
-
Go to instance config page: https://tube-test.apps.education.fr/admin/config/edit-custom#instance-information
-
Delete referenced categories.
-
Save changes.
Resolution
Find a way to remove the related instance category when the category is deleted