Issue Bug Closed

#99731PHP Warning: Undefined array key 1 in in /typo3_src-11.5.22/web/typo3/sysext/core/Classes/Utility/RootlineUtility.php line 431

Thomas Hohn 01/27/23, 09:54 updated 02/08/23, 16:04

Description

Add a sanity check around the parsing of

[$mountedPageUid, $mountPageUid] = GeneralUtility::intExplode('-', $mP);

in

foreach ($mountPoints as $mP) {
   [$mountedPageUid, $mountPageUid] = GeneralUtility::intExplode('-', $mP);
   $this->parsedMountPointParameters[$mountedPageUid] = $mountPageUid;
}

Happens under PHP 8

Reviews 2