Actions
Bug #99866
closedUndefined array key "sectionIndex." in AbstractMenuContentObject.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2023-02-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
A TypoScript menu with the sectionIndex property …
lib.nav = HMENU lib.nav{ entryLevel = 0 1 = TMENU 1{ wrap = <ul>|</ul> expAll = 1 NO.wrapItemAndSub = <li>|</li> } 2<.1 2.sectionIndex = 1 }… generates the following 4 errors for each content element of TMENU "libnav.2":
- Core: Error handler (FE): PHP Warning: Trying to access array offset on value of type null in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php line 1814
- Core: Error handler (FE): PHP Warning: Undefined array key "sectionIndex." in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php line 1814
- Core: Error handler (FE): PHP Warning: Trying to access array offset on value of type null in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php line 1812
- Core: Error handler (FE): PHP Warning: Undefined array key "sectionIndex." in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php line 1812
Actions