Issue Bug Closed

#98166PHP warning when FlexForm sheet has no fields

Torben Hansen 08/18/22, 10:13 updated 10/04/22, 08:53

Description

When a FlexForm with multiple tabs has at least one sheet that does not contain any fields, the following PHP warning is shown.

Core: Error handler (BE): PHP Warning: Trying to access array offset on value of type null in /path/to/site/public/typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php line 64

Although the problem only occurs due to invalid FlexForm, TYPO3 should catch the error and not show the PHP warning.

Reviews 2