---
title: "Deprecation: #94957 - TypoScriptFrontendController->cObjectDepthCounter"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-94957"
source: "Changelog/11.4/Deprecation-94957-TypoScriptFrontendController-cObjectDepthCounter.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #94957 - TypoScriptFrontendController->cObjectDepthCounter

See [forge#94957](https://forge.typo3.org/issues/94957)

## Description

The `TypoScriptFrontendController` contains a property to prevent endless
recursion of content objects during frontend rendering. With TypoScript
becoming less complex, this check becomes obsolete. To reduce dependencies
between `TypoScriptFrontendController` and `ContentObjectRenderer`,
the handling has been removed and property `TypoScriptFrontendController->cObjectDepthCounter`
has been marked as deprecated.

## Impact

If a TypoScript setup somehow manages to create a recursion, PHP will now stop
with a fatal PHP nesting level error at some point, instead TYPO3 frontend
rendering silently stopping.

## Affected Installations

Instances using property `TypoScriptFrontendController->cObjectDepthCounter`
are affected. That property has been handled mostly internally, this case is unlikely.
The extension scanner will find usages with a weak match.

## Migration

Drop usages of property `TypoScriptFrontendController->cObjectDepthCounter`,
it is unused within TYPO3 v11.
