Actions
Bug #103644
closedUncaught TYPO3 Exception Call to a member function getRemoteAddress() on null
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2024-04-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Uncaught TYPO3 Exception Call to a member function getRemoteAddress() on null
thrown in file /var/www/html/vendor/typo3/cms-core/Classes/ExpressionLanguage/FunctionsProvider/DefaultFunctionsProvider.php
in line 75
This exception occurs to me, when running the command typo3:referenceindex:update. When the command reaches a tt_content element of type form, the form framework event listener DataStructureIdentifierListener kicks in and bootstraps TypoScript parsing in backend context. However, in CLI there is no request so the ip function fails of course.
TypoScript somthing similar like:
[ip("127.0.0.*")]
foo = bar
[end]
Actions