Issue Bug Closed

#99866Undefined array key "sectionIndex." in AbstractMenuContentObject.php

Benjamin Robinson 02/07/23, 11:21 updated 03/14/23, 11:47

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
}
  • 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

Reviews 2