Project

General

Profile

Actions

Bug #95672

closed

PHP 8 warning when using reference for FLUIDTEMPLATE variable

Added by Alexander Stehlik about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-10-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF