Getting the error in Terminal when opening a collection type.
I’ve been having the same issue on a collection type. Did you find a solution?
x3
I know this is an old post, but I would still like to give a possible solution.
This error commonly occurs when you have deleted a content type, but either something went wrong when deleting the content type, or you manually tried to change something about the content type.
Because of these reasons, strapi is left with “dangling” links to a content type that no longer exists. Solving this usually requires manual manipulation of the schema / [component].json files. Thus you should remove all links to the content type you manipulated (e.g. in the array of a dynamic zone). Worst case scenario, a change in the database may also be needed, e.g. in the strapi_core_store_settings
, and removing the configuration of the content type.