---
title: "Breaking: #87567 - Global variable $TBE_TEMPLATE removed"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-87567"
source: "Changelog/10.0/Breaking-87567-GlobalVariableTBE_TEMPLATERemoved.rst"
typo3-version: "10.0"
typo3-major: 10
type: "breaking"
issue: 87567
forge: "https://forge.typo3.org/issues/87567"
tags: ["PHP-API", "FullyScanned", "ext:backend"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Breaking: #87567 - Global variable $TBE_TEMPLATE removed {#breaking-87567}

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

## Description {#description}

The global variable `$GLOBALS[TBE_TEMPLATE]` used in TYPO3 Backend which was available
for legacy reasons for old backend modules as an instance of `DocumentTemplate` a.k.a. `alt_doc`
has been removed.

The according PSR-15 middleware, which was marked as internal, is also removed.

## Impact {#impact}

Calling any method or property on `$GLOBALS[TBE_TEMPLATE]` will trigger a PHP `E_ERROR` error.

## Affected Installations {#affected-installations}

TYPO3 installations with older extensions using the global variable.

## Migration {#migration}

Instantiate the `DocumentTemplate` class directly in the controller of the module, or migrate
to `ModuleTemplate` which is available since TYPO3 v7.
