TYPO3 Exception 1440499338
Note
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the Troubleshooting section in the menu. You can also ask questions and receive support in the TYPO3 Questions category on talk.typo3.org.
To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.
TYPO3 v12.3 - 2023-03-30
The issue
With TYPO3 v12.3 the items of the TCA types "check", "radio" and "select" requires a "label" key instead of the array index "0". In v12 a TCA migration is in place which is not applied to custom site configurations in v12.3.
Solution
Migrate from:
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [[
0 => '',
1 => '',
]],
]
to:
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [[
'label' => '',
'value' => '',
]],
]
To stay compatible with TYPO3 v12 and v11, use:
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [[
0 => '',
1 => '',
'label' => '',
'value' => '',
]],
]