Bug #98962
closedjson_decode with null parameter in SearchController
100%
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
Updated by Albrecht Köhnlein about 2 years ago
- Subject changed from json_decode to json_decode with null parameter in SearchController
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76351
Updated by Gerrit Code Review about 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76273
Updated by Albrecht Köhnlein about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ad8fc6728b5d836ea55b677b84b5aebbaa64175a.