Deprecation: #84725 - sys_domain resolving moved into middleware¶
PageRepository->getDomainStartPage() has been marked as deprecated.
TypoScriptFrontendController->findDomainRecord() which was marked
as internal, has been removed.
As both methods have been used to resolve the root page ID of the current request,
they were solely there to fill
$GLOBALS['TSFE']->domainStartPage which is now filled
at an earlier stage through the
Calling the PageRepository method will trigger a PHP
Calling the TypoScriptFrontendController method will result in a fatal PHP error.
TYPO3 installations with third-party extensions calling the methods directly, usually related to resolve a page ID or to mimic a frontend call.
If the return value is needed, access
If the functionality is used in a third-party functionality and still needed,
ensure to extend from
SiteResolver middleware to call the now-protected method equivalents