#94361EXT:workspaces fix Undefined array key in PHP8
Description
In PHP8 the following error appears when trying to create/save a record in workspace:
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception PHP Warning: Undefined array key "t3ver_state" in /var/www/html/typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 2378
Other places where “Undefined array key” error appears:
- Publish workspace without recepients
- Ajax request: Click on workspace module
- Create new record on id 0
- Create Workspace -> save