Project

General

Profile

Actions

Bug #93316

closed

TypoScript Condition: Unable to get a property on a non-object.

Added by Christoph Lehmann almost 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2021-01-19
Due date:
% Done:

0%

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

Description

This condition trigger an error "Unable to get a property on a non-object." which is written to the file log

[ip("devIP") || request.getNormalizedParams().getRemoteAddress() matches "/{$someconstant}/"]
    ...
[global]

Component: TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher

It comes through a webrequest, not a cli request.

Actions

Also available in: Atom PDF