---
title: "Deprecation: #85822 - Static class TYPO3\\CMS\\Frontend\\Page\\PageGenerator"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85822"
source: "Changelog/9.4/Deprecation-85822-PageGenerator.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #85822 - Static class TYPO3\\CMS\\Frontend\\Page\\PageGenerator

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

## Description

The PSR-15 RequestHandler is responsible for compiling content. There is no need anymore to directly access and set global objects, which are available already in the RequestHandler.

Therefore this logic is moved into RequestHandler and the PHP class `\TYPO3\CMS\Frontend\Page\PageGenerator`
has been marked as deprecated.

## Impact

Calling any of the methods within the PHP class will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations

Any TYPO3 installation with a custom extension calling the static class.

## Migration

Move the render logic to your own extension or use the RequestHandler to compile the functionality.

The unrelated method `PageRenderer::inline2TempFile()` has been moved into proper methods found at

-   `GeneralUtility::writeJavaScriptContentToTemporaryFile($content)`
-   `GeneralUtility::writeStyleSheetContentToTemporaryFile($content)`
