#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
Reviews 2
History 35
-
Albrecht Köhnlein changed subject
json_decodejson_decode with null parameter in SearchController 10/31/22, 15:22 -
Gerrit Code Review pushed patch set 1 for main to change 76351 status
NewUnder Review 10/31/22, 15:30 -
Gerrit Code Review pushed patch set 1 for 11.5 to change 76273 10/31/22, 15:41
-
Albrecht Köhnlein commented and changed status
Under ReviewResolved done0 %100 % 10/31/22, 15:45 -
Benni Mack changed status
ResolvedClosed 12/06/22, 21:52
Applied in changeset commit:ad8fc6728b5d836ea55b677b84b5aebbaa64175a.