Bug #105281
closedWrong LogLevel parameter given in TypoScriptParser
100%
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.
Updated by Gerrit Code Review 4 days ago
- Status changed from New to Under Review
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87683
Updated by Gerrit Code Review 4 days ago
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87683
Updated by Georg Ringer about 12 hours ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 45b2c75690a024c1ab2bb675519a56bebf6df74e.