#96353Undefined global variable $TSFE
Description
Searching for a page id in the page tree and then clicking on a page in the tree throws this exception:
PHP Warning: Undefined global variable $TSFE in /var/www/html/public/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 418
TYPO3 11.5.4 / PHP 8.1