Issue Bug Closed

#105346PHP Warning when using optional set dependency that is not available

Benjamin Franzke 10/18/24, 13:50 updated 08/12/25, 14:35

Description

A warning is thrown when a set defines an unavailable set as optional dependency.

Example site configuration:

name: my/set
label: 'My Set'
optionalDependencies:
  - typo3/seo-sitemap

Produces following warning when `EXT:seo` is not installed:

  PHP Warning: Undefined array key "typo3/seo-sitemap" in …/typo3/sysext/core/Classes/Service/DependencyOrderingService.php line 209  

Reviews 2