Issue Bug Closed

#94361EXT:workspaces fix Undefined array key in PHP8

Jochen Roth 06/17/21, 08:51 updated 07/18/21, 15:47

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

Reviews 1