Bug #88493

Exception in Indexed Search Administration Modul

Added by Andrea Moroni 5 months ago. Updated 27 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2019-06-05
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 v9.5.7
If I switch in the Backend Modul "Indexing" to "List: Pages" the attached error appears. All other possible selections are working fine.

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: json_decode() expects parameter 1 to be string, array given in /is/xxxxxxxxxxxxxxxxx/www/typo3_src-9.5.7/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php line 363

Installed EXT: Bootstrap Package, News, dpn_glossary

indexed-search-error-BE.JPG View - Screenshot error (66.6 KB) Andrea Moroni, 2019-06-05 12:19


Related issues

Related to TYPO3 Core - Bug #89081: PHP Warning in Backend Module Indexing -> List: Pages Resolved

History

#1 Updated by Georg Ringer 5 months ago

  • Status changed from New to Needs Feedback

Can you remove this index entry from the table index_phash (or truncate all indexed_search tables) and check if this occours? I see no way how this can happen currently

#2 Updated by Andrea Moroni 5 months ago

After truncating all indexed_search tables and a re-index the error keeps occuring
Core: Error handler (BE): PHP Warning: json_decode() expects parameter 1 to be string, array given in /is/xxxxxxxx/typo3_src-9.5.7/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php line 363

Could it be a problem with hosteurope PHP 7.2.18-he.0 ?

#3 Updated by Boris Schauer 5 months ago

I have the same issue on another Hoster

#4 Updated by Tobias Gülzow 4 months ago

Georg Ringer wrote:

Can you remove this index entry from the table index_phash (or truncate all indexed_search tables) and check if this occours? I see no way how this can happen currently

Hi Georg.

The method addAdditionalInformation() already decoded the json, hence the array in the error message.

@see
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php#L359
and
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php#L449

Tobi

#5 Updated by Tilo Baller about 1 month ago

  • Related to Bug #89081: PHP Warning in Backend Module Indexing -> List: Pages added

#6 Updated by Oliver Hader 27 days ago

  • Status changed from Needs Feedback to Resolved
  • Target version set to next-patchlevel

Resolved with #89081

Also available in: Atom PDF