Project

General

Profile

Actions

Bug #90087

closed

Empty configuration values in indexed_search trigger PHP warning

Added by Andreas Kienast almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-01-10
Due date:
% Done:

100%

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

Description

The indexer of indexed_search crashes if numeric configurations have an empty string (=undefined).

Example:
if the option minAge is empty, the following warning occurs:

PHP Warning: A non-numeric value encountered in typo3/sysext/indexed_search/Classes/Indexer.php line 454

Actions

Also available in: Atom PDF