Project

General

Profile

Actions

Bug #98962

closed

json_decode with null parameter in SearchController

Added by Albrecht Köhnlein over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2022-10-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Albrecht Köhnlein over 1 year ago

  • Subject changed from json_decode to json_decode with null parameter in SearchController
Actions #2

Updated by Gerrit Code Review over 1 year 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

Actions #3

Updated by Gerrit Code Review over 1 year 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

Actions #4

Updated by Albrecht Köhnlein over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF