#98962json_decode with null parameter in SearchController
Description
I’m upgrading an existing project to TYPO3 11 and PHP 8.1 and ran into this error when submitting a search:
> (1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
>
> PHP Runtime Deprecation Notice: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/html/private/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 477