#101194PHP warnings: undefined array in PageRepository.php
Description
PHP Warning: Undefined array key “shortcut_mode” in typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 958
PHP Warning: Undefined array key “doktype” in typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 957
TYPO3 11.5.28
PHP 8.1.20
Reviews 3
Related issues 1
History 47
-
Torben Hansen commented and changed assigned to Torben Hansen 06/29/23, 17:54
-
Gerrit Code Review pushed patch set 1 for main to change 79620 status
NewUnder Review 07/03/23, 16:29 -
Gerrit Code Review pushed patch set 1 for 12.4 to change 79634 07/03/23, 17:06
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 79635 07/03/23, 17:07
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 07/03/23, 17:10Applied in changeset commit:abe424a51abbcbf5c79cac410cbc4a49aac15f89.
-
Benni Mack changed Related to #99163 07/05/23, 11:50
-
Benni Mack changed status
ResolvedClosed 07/09/24, 14:15
I tried to reproduce the problem but with no success. However, from a code perspective the bug is valid, since it will occur, when
getSubpagesForPages()is called with the$fieldsvariable not equal to*and when$fieldsdoes not include thedoktypeandshortcut_modeThe same code is also present in TYPO3 v12 and main. Do you have any additional information on how to reproduce the problem? As far as I can see it must have something to do with menus in frontend.