Project

General

Profile

Actions

Bug #95648

closed

Undefined array key 0 in /var/www/html/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php line 1226

Added by Jonas Eberle about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2021-10-14
Due date:
% Done:

100%

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

Description

After searching, if there should be results.

backtrace:

in /var/www/html/typo3/sysext/core/Classes/Error/ErrorHandler.php line 145

at TYPO3\CMS\Core\Error\ErrorHandler->handleError(2, 'Undefined array key 0', '/var/www/html/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php', 1226)
in /var/www/html/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php line 1226

at TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository->multiplePagesType('0')
in /var/www/html/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php line 262

at TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository->doSearch(array(array('sword' => 'lo', 'oper' => 'AND')), -1)
in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 289

...
Actions #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71800

Actions #2

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71800

Actions #3

Updated by Jonas Eberle about 3 years ago

I am adding this error to this issue, too (since after solving the first one, this also pops up):

Undefined array key "70092e93746599a96aad49c1c48918b7" in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 392

at TYPO3\CMS\IndexedSearch\Controller\SearchController->compileResultRow(...
in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 353

at TYPO3\CMS\IndexedSearch\Controller\SearchController->getDisplayResults(...

Actions #4

Updated by Jonas Eberle about 3 years ago

Fixing one after the other...

Undefined array key "specialConfiguration" in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 598

+ and line 602

Undefined array key "CSSsuffix" in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 474

Undefined array key 0 in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 1485

Undefined array key 2 in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 1340

Undefined array key "_pid" in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 688

Undefined array key "pageIcon" in /var/www/html/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 708

Actions #5

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71800

Actions #6

Updated by Gerrit Code Review about 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71800

Actions #7

Updated by Benni Mack about 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF