[SOLVED] BE-Error after composer update - ContentBlocks

I’ve just done an composer update on my ddev lokal system. Typo3 is updated to latest version 13.4.12 and Content-Blocks ws updated from 1.1.9 to 1.2.3.
Now I get an Error in my backend, that seems to be related to Content-Blocks.

Cannot modify protected(set) readonly property TYPO3\CMS\ContentBlocks\Definition\ContentType\ContentElementDefinition::$identifier from scope TYPO3\CMS\ContentBlocks\Definition\ContentType\ContentTypeDefinition

Is there a bug? What can I do?

You need to clear all caches. You can do that either on CLI with typo3 cache:flush or in the TYPO3 install tool.

Check the documentation for more details on Clearing/flushing and warming up caches

It’s always a good idea to clear the caches after major code changes, e.g. when updating an extension or the TYPO3 core.

1 Like

Thank you.
I did that, but I had a misspelling in the command and the error message did not tell me that. Unstead I’ve got the message above which led my thoughts into wrong direction.