Project

General

Profile

Actions

Bug #102383

closed

Undefined array key "debugMode"

Added by Kevin Veldscholten 6 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2023-11-16
Due date:
% Done:

100%

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

Description

We receive the following error message in the frontend with a new installation in connection with indexed_search

PHP Warning: Undefined array key "debugMode" in /typo3_src-12.4.8/typo3/sysext/indexed_search/Classes/Indexer.php line 269
Actions #1

Updated by Georg Ringer 6 months ago

  • Status changed from New to Needs Feedback

the indexer configuration is the extension settings you can find in the settings.php

'indexed_search' => [
            'catdoc' => '/usr/bin/',
            'debugMode' => '0',
            'deleteFromIndexAfterEditing' => '1',
            'disableFrontendIndexing' => '0',
            'enableMetaphoneSearch' => '1',
            'flagBitMask' => '192',
            'fullTextDataLength' => '0',
            'ignoreExtensions' => '',
            'indexExternalURLs' => '0',
            'maxAge' => '0',
            'maxExternalFiles' => '5',
            'minAge' => '24',
            'pdf_mode' => '20',
            'pdftools' => '/usr/bin/',
            'ppthtml' => '/usr/bin/',
            'unrtf' => '/usr/bin/',
            'unzip' => '/usr/bin/',
            'useMysqlFulltext' => '0',
            'xlhtml' => '/usr/bin/',
        ],

this is written when installed, so the debugMode should be part of that. maybe you write this config on your own somewhere?

Actions #2

Updated by Kevin Veldscholten 5 months ago ยท Edited

I install typo3 at the normal way and go straight with create empty site to backend. Then activate the extension indexed_search and add it to the template at include TypoScript, which then causes the error on the frontend.

My settings.php ist the same as yours

PHP Version 8.1.22
TYPO3 12.4.9 the same error

Actions #3

Updated by Gerrit Code Review 5 months ago

  • Status changed from Needs Feedback 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/+/82258

Actions #4

Updated by Gerrit Code Review 5 months ago

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

Actions #5

Updated by Gerrit Code Review 5 months 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/+/82239

Actions #6

Updated by Oliver Bartsch 5 months ago

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

Also available in: Atom PDF