#88829Bootstrap::handleRequest() throws type error, when controller action returns empty string
Description
How to reproduce: Call an extbase controller action in frontend, which returns an empty string (not null!).
Exception:
> Return value of TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest() must be of the type string, null returned
Caused by return type hinting in:
https://github.com/TYPO3/TYPO3.CMS/blob/0c531014d09d0b16a92438c86d717a33e0a345b8/typo3/sysext/extbase/Classes/Core/Bootstrap.php#L188
Solution:
$content = (string) $response->shutdown();