Issue Bug Closed

#94542Fix PHP8 undefined array key warning in various places

Jochen Roth 07/12/21, 11:10 updated 09/07/21, 07:34

Description

  • “Select and Upload Files“ within a content element (e.g. textmedia -> assets)
  • Create Backend layout
  • Add media by URL
  • Info -> Linkvalidator
  • Recycler -> Delete page
  • Template (on page with non existing) -> Click here to go.
  • Sites -> Static Routes -> Create new
  • Extensions -> Install preconfigured Distribution
  • Log -> Show History

A collection of the raised warnings:

PHP Warning: Undefined array key "title" in /var/www/html/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php line 60

PHP Warning: Undefined array key „pid“ in /var/www/html/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php line 44

PHP Warning: Undefined array key "subcat_name" in /var/www/html/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php line 835

PHP Warning: Undefined array key "default" in /var/www/html/typo3/sysext/core/Classes/Imaging/IconFactory.php line 215

PHP Warning: Undefined array key "subrow" in /var/www/html/typo3/sysext/impexp/Classes/ImportExport.php line 978

PHP Warning: Undefined array key "linkvalidator" in /var/www/html/typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php line 59

PHP Warning: Undefined array key "tt_content:8" in /var/www/html/typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php line 261

Reviews 1