.. include:: /Includes.rst.txt ========================== TYPO3 Exception 1440499338 ========================== .. include:: /If-you-encounter-this-exception.rst.txt .. TYPO3 [version] - [date of report] ================================== Installation Overview --------------------- Provide as much information about your installation of TYPO3 including its version number and any other information that you think will be relevant to other users who encounter the same issue. The Issue --------- Detail each of the steps or changes that took place leading up to the issue occurring. Solution -------- Did you resolve the issue? List the steps or changes made that resolved the issue. 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. .. seealso:: * `Feature: #99739 - Associative array keys for TCA items `__ * `Bug: #100359 - Using TCA type "checkbox" in custom site configuration field throws error `__ Solution -------- Migrate from: .. code-block:: php 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', 'items' => [[ 0 => '', 1 => '', ]], ] to: .. code-block:: php 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', 'items' => [[ 'label' => '', 'value' => '', ]], ] To stay compatible with TYPO3 v12 and v11, use: .. code-block:: php 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', 'items' => [[ 0 => '', 1 => '', 'label' => '', 'value' => '', ]], ]