Steps to reproduce:
In the Administration -> PhenoTypes displayed by default, create a new phenotype configuration
In the default JSON proposed upon creation, for the "Growth parameters" section, change the "categories" field from [ "HP:0001507" ] to [ "Growth" ]; Save;
Go back to Administration -> PhenoTypes displayed by default and set this new configuration as the default (yeah, the workflow isn't great); Save;
Create a new patient and click on some of the default phenotypes, then save & view --> everything looks as expected
Go back to editing the patient and add a non-standard "phenotype" (e.g. "xyz") in the "Growth parameters" section, using the "Other" input, then save & view --> "An error has occurred while attempting to display the list of phenotypes." is displayed instead of the phenotypes
Go back to editing --> The same error message is displayed, there's no way for the user to edit the phenotypes.