Issue Bug Closed

#98962json_decode with null parameter in SearchController

Albrecht Köhnlein 10/31/22, 15:22 updated 12/06/22, 21:52

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

Reviews 2