#86223Exception when using protectLvar=all in MenuProcessor
Description
Using the following TS lib in TYPO3 CMS 9.4 (composer) throws an Exception:
lib.test= FLUIDTEMPLATE
lib.test {
file = EXT:...
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 {
special = list
special.value = 1,2,3
levels = 1
protectLvar = all
}
}
}
Exception: Call to a member function getPageOverlay() on null in AbstractMenuContentObject.php line 1376
- Languages & Co are configured using module ‘Site Configuration’
- Same error if translated records exist or not
- No error if pages.l18n_cfg option ‘Hide page if no translation for current language exists [2]’ is set