Issue Bug Closed

#95672PHP 8 warning when using reference for FLUIDTEMPLATE variable

Alexander Stehlik 10/16/21, 12:26 updated 10/04/22, 14:13

Description

When using TypoScript like this:

10 = FLUIDTEMPLATE
10 {
    variables {
        myvar =< lib.some.cobject
    }
}

you get a PHP 8 warning:

> PHP Warning: Undefined array key “myvar.” in web/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 304

Reviews 1