Strapi Version: v4.11.2
Operating System: Windows 10 & Docker node:16-alpine
Node Version: 16.16.0
NPM Version: 8.11.0
Yarn Version: 1.22.19
When trying to insert some value in some collections, this error occurs, this did not occur in the previous version that we used v4.9.0-alpha.0, I performed the return in this version to confirm, and in it the error not occur.
I already deleted the .cache folder and did the build again, but without success.
seems to me like a miss dependency miss match
could be your plugins also did you follow the migration guide?
yes, I did some more tests and found that the error only occurred in collections that had JSON attributes, when searching I found this ISSUE Unable to use JSON content type. strapi admin breaks with "Woops! Something went wrong. Please, try again" · Issue #17007 · strapi/strapi · GitHub which has a solution by removing .cache, node_modules and yarn.lock, and the problem was solved.