Bug #88493

Exception in Indexed Search Administration Modul

Added by Andrea Moroni about 2 months ago. Updated about 1 month ago.

Status:
Needs Feedback
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

History

#1 Updated by Georg Ringer about 2 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 about 2 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 about 2 months ago

I have the same issue on another Hoster

#4 Updated by Tobias Gülzow about 1 month 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

Also available in: Atom PDF