Project

General

Profile

Actions

Bug #105281

open

Wrong LogLevel parameter given in TypoScriptParser

Added by Kevin Ditscheid 4 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2024-10-11
Due date:
% Done:

0%

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

Description

PHP Warning: Undefined array key 1 in /var/www/html/vendor/typo3/cms-core/Classes/TimeTracker/TimeTracker.php line 186
...
in /var/www/html/vendor/typo3/cms-core/Classes/TypoScript/Parser/TypoScriptParser.php line 275

`$this->error('Line ' . ($this->lineNumberOffset + $this->rawP - 1) . ': On return to [GLOBAL] scope, the script was short of ' . $this->inBrace . ' end brace(s)', 1);`

The given value for the LogLevel here is wrong, because LogLevel does not support "1".
I would suggest replacing it with the LogLevel constant LogLevel::ERROR or just removing it.

No data to display

Actions

Also available in: Atom PDF