Issue Bug Closed

#100122Multiple undefined Array key warnings in FileContentParser

Daniel Hettler 03/08/23, 16:35 updated 03/14/23, 11:47

Description

Hello,

we faced the problem that indexing file content/metadata is throwing multiple ‘Undefined array key’ warnings in FileContentParser of EXT:indexed_search in an PHP 8 environment.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key "dc:subject" in /var/www/private/typo3/sysext/indexed_search/Classes/FileContentParser.php line 589 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/private/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 137.
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key "values" in /var/www/private/typo3/sysext/indexed_search/Classes/FileContentParser.php line 588 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/private/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 137.

Reviews 2

History 25

  1. Gerrit Code Review pushed patch set 1 for main to change 78076 status New Under Review 03/08/23, 16:36

  2. Gerrit Code Review pushed patch set 2 for main to change 78076 03/08/23, 17:30

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 78053 03/09/23, 10:27

  4. Daniel Hettler commented and changed status Under Review Resolved done 0 % 100 % 03/09/23, 10:30

    Applied in changeset commit:0b3e0b56baccb319ceeaefcb49b1efb885bf01bf.

  5. Benni Mack changed status Resolved Closed 03/14/23, 11:47