Closed dkochc closed 1 year ago
Thanks for the feedback - still there is the question, why there are CType or list_type fields containing integer values, since actually both of them are of type varchar(255) - anyway we could fix the issue by doing a type cast.
For example, tt_news uses an integer as the plugin identifier when it adds itself as a content element. Since there is no restriction in the addPlugin implementation to use a string for the identifier, this error may occur repeatedly.
OK - so this might be happening with legacy extensions mostly, which is why no one noticed it on our testing server.
When creating a new CE backend layout in the TYPO3 backend, the above error is thrown.
The error is in the GridelementsBackendLayoutWizardElement.php and GridelementsBackendLayoutWizardElement10.php when substr $contentType['key'] and/or $listType['key'] without checking the key is a string.