Bug #101194
closed
PHP warnings: undefined array in PageRepository.php
Added by Stefan Terborg over 1 year ago.
Updated 5 months ago.
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
- Assignee set to Torben Hansen
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 $fields
variable not equal to *
and when $fields
does not include the doktype
and shortcut_mode
The 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.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Related to Bug #99163: PageRepository - Undefined array key "doktype" & "shortcut_mode" added
- Status changed from Resolved to Closed
Also available in: Atom
PDF