Topic on Extension talk:AdvancedSearch

MimeTypeConfigurator.php error on line 49

2
Summary by Thiemo Kreuz (WMDE)

Fixed.

Tompouls (talkcontribs)

Dear,

On a new docker installation MW 1.39.1, PHP 8.1.15, MariaDB 10.10.2, Elastic Search 7.10.2 we get the following error with the AdvancedSearch extension enabled when doing a search:

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in var/www/html/extensions/AdvancedSearch/includes/MimeTypeConfigurator.php on line 49

When AdvancedSearch is disabled, the Elastic Search works properly.

Tom

Thiemo Kreuz (WMDE) (talkcontribs)

This was fixed a few months ago via gerrit:856121. Unfortunately this was not backported to version 1.39. I uploaded gerrit:887354 to do that now.