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 #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71838

Actions #2

Updated by Alexander Stehlik about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF