In the image you can see the checkbox I check, and when I do, I get this error:
err: {
"type": "CastError",
"message": "Cast to embedded failed for value \"true\" (type boolean) at path \"en\" because of \"ObjectParameterError\"",
"stack":
CastError: Cast to embedded failed for value "true" (type boolean) at path "en" because of "ObjectParameterError"
at SchemaDocumentArray.cast (webpack-internal:///(rsc)/./node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__/node_modules/mongoose/lib/schema/documentArray.js:501:19)
at SchemaDocumentArray.cast (webpack-internal:///(rsc)/./node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__/node_modules/mongoose/lib/schema/documentArray.js:426:17)
#####MORE...#####
I saved and got the error, then reloaded the page and now I can't even open the footer page in the cms using en, I can only open using sv, I get this error:
[20:23:21] ERROR: Cannot create property 'id' on boolean 'false'