Issue Bug Closed

#99880Undefined array key 1 in BackendUtility.php line 1380

Thomas Hohn 02/08/23, 12:56 updated 02/09/23, 06:50

Description

A faulty TCA configuration can cause an Undefined array key

[$currentLabel, $currentKey] = $itemConfiguration;

Example:

'column' => [
        'exclude' => true,
        'label' => 'Columnname',
        'config' => [
            'type' => 'select',
            'renderType' => 'selectSingle',
            'items' => [
                [
                    'Faulty  entry',
                ],
                [
                   'Correct entry ',
                    '100',
                ],
            ],
           'default' => 0,
        ],
],

Reviews 1