Deprecation: #85971 - PageRepository->getFirstWebPage¶
See forge#85971
Description¶
The method php:Page
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.
Impact¶
Calling the method directly will trigger a PHP E_
error.
Affected Installations¶
Any TYPO3 installation with extensions directly calling this method.
Migration¶
Use php:Page
instead.