While performing this command: php extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php
The following error pops out:
PHP Fatal error: Declaration of Elasticsearch\Endpoints\Indices\Exists::getParamWhitelist() must be compatible with Elasticsearch\Endpoints\AbstractEndpoint::getParamWhitelist(): array in /var/www/html/mwtest/extensions/Elastica/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Exists.php on line 60
Observed on:
Mediawiki 1.31.10
Elasticsearch 5.6.16
Ubuntu 18
PhP 7.2.24