Deprecation: #83883 - Page Not Found And Error handling in Frontend

See forge#83883


The following methods have been marked as deprecated:

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableAndExit()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundAndExit()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->checkPageUnavailableHandler()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageUnavailableHandler()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageNotFoundHandler()

  • TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->pageErrorHandler()

These methods have been commonly used by third-party extensions to show that a page is not found, a page is unavailable due to misconfiguration or the access to a page was denied.


Calling any of the methods above will trigger a deprecation warning.

Affected Installations

Any installation with third-party PHP extension code calling these methods.


Use the new ErrorController with its custom actions unavailableAction(), pageNotFoundAction() and accessDeniedAction().

Instead of exiting the currently running script, a proposed PSR-7-compliant response is returned which can be handled by the third-party extension to enrich, return or customize exiting the script.