Deprecation: #85971 - PageRepository->getFirstWebPage¶
See Issue #85971
The method php:
PageRepository->getFirstWebPage() is only used when no "?id" parameter is given, and no rootpage was resolved.
As this is the only use-case, a more generic "getMenu" method can be used, which does the same except for not "limiting" the query to one result, so there is a minimal memory penalty when doing so. However due to Pseudo-Site functionality this drawback only applies to rare cases.
Calling the method directly will trigger a PHP
Any TYPO3 installation with extensions directly calling this method.