---
title: "Deprecation: #86047 - TSFE properties / methods and change visibility"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-86047"
source: "Changelog/9.5/Deprecation-86047-TSFEPropertiesMethodsAndChangeVisibility.rst"
typo3-version: "9.5"
typo3-major: 9
type: "deprecation"
issue: 86047
forge: "https://forge.typo3.org/issues/86047"
tags: ["Frontend", "FullyScanned", "ext:frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #86047 - TSFE properties / methods and change visibility {#deprecation-86047}

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

## Description {#description}

The following properties of class `\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController` have changed their visibility from public to protected and should not be called any longer.

-   `pageAccessFailureHistory`
-   `workspacePreview` (not in use anymore)
-   `ADMCMD_preview_BEUSER_uid` (not in use anymore)
-   `debug` (not in use anymore)
-   `MP_defaults` (not in use anymore outside of TSFE)
-   `loginAllowedInBranch` (use checkIfLoginAllowedInBranch())

The following methods  of class `\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController` have changed their visibility from public to protected, as their purpose is to be called from
within `TypoScriptFrontendController`.

-   `tempPageCacheContent()`
-   `realPageCacheContent()`
-   `setPageCacheContent()`
-   `clearPageCacheContent_pidList()`
-   `setSysLastChanged()`
-   `contentStrReplace()`

## Impact {#impact}

Calling any of the PHP methods will trigger a PHP `E_USER_DEPRECATED` error, as well as accessing any of the
previously public properties.

## Affected Installations {#affected-installations}

Any TYPO3 installation with extensions directly calling one of the methods or using one of the
public properties.

## Migration {#migration}

For `TypoScriptFrontendController->ADMCMD_preview_BEUSER_uid` use the backend.user aspect of the Context API.
For `TypoScriptFrontendController->workspacePreview` use the workspace aspect of the Context API.
For `TypoScriptFrontendController->loginAllowedInBranch` use the method `checkIfLoginAllowedInBranch()` instead.
