Warning: Elasticsearch\Connections\Connection::Elasticsearch\Connections\{closure}(): Argument #2 ($key) must be passed by reference, value given in /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 315

Warning: Elasticsearch\Connections\Connection::Elasticsearch\Connections\{closure}(): Argument #2 ($key) must be passed by reference, value given in /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 315

Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /var/www/omeka-3.1/plugins/Elasticsearch/vendor/react/promise/src/functions.php:11 Stack trace: #0 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/react/promise/src/functions.php(11): method_exists() #1 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/react/promise/src/FulfilledPromise.php(25): React\Promise\resolve() #2 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then() #3 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/guzzlehttp/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then() #4 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(294): GuzzleHttp\Ring\Core::proxy() #5 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(171): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}() #6 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(101): Elasticsearch\Connections\Connection->performRequest() #7 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1578): Elasticsearch\Transport->performRequest() #8 /var/www/omeka-3.1/plugins/Elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(952): Elasticsearch\Client->performRequest() #9 /var/www/omeka-3.1/plugins/Elasticsearch/libraries/Elasticsearch/Helper/Index.php(314): Elasticsearch\Client->search() #10 /var/www/omeka-3.1/plugins/Elasticsearch/controllers/SearchController.php(27): Elasticsearch_Helper_Index::search() #11 /var/www/omeka-3.1/application/libraries/Zend/Controller/Action.php(516): Elasticsearch_SearchController->indexAction() #12 /var/www/omeka-3.1/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch() #13 /var/www/omeka-3.1/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch() #14 /var/www/omeka-3.1/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch() #15 /var/www/omeka-3.1/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #16 /var/www/omeka-3.1/application/libraries/Omeka/Application.php(73): Zend_Application->run() #17 /var/www/omeka-3.1/index.php(23): Omeka_Application->run() #18 {main} thrown in /var/www/omeka-3.1/plugins/Elasticsearch/vendor/react/promise/src/functions.php on line 11