Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated in /home/daus/domains/ths/plugins/AvantElasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 544
Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php:283
Stack trace:
#0 /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php(330): AvantSearch_FindController->retryQueryUsingElasticsearch(Object(SearchResultsGridView), 1)
#1 /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php(202): AvantSearch_FindController->performElastticsearchSearch(Object(AvantElasticsearchQueryBuilder), Object(SearchResultsGridView), 1)
#2 /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php(154): AvantSearch_FindController->performQueryUsingElasticsearch(Object(AvantElasticsearchQueryBuilder), Object(SearchResultsGridView))
#3 /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php(61): AvantSearch_FindController->performQuery(Object(SearchResultsGridView))
#4 /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php(312): AvantSearch_FindController->find()
#5 /home/daus/domains/ths/application/libraries/Zend/Controller/Action.php(516): AvantSearch_FindController->searchResultsAction()
#6 /home/daus/domains/ths/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('searchResultsAc...')
#7 /home/daus/domains/ths/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /home/daus/domains/ths/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch()
#9 /home/daus/domains/ths/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#10 /home/daus/domains/ths/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#11 /home/daus/domains/ths/index.php(23): Omeka_Application->run()
#12 {main}
thrown in /home/daus/domains/ths/plugins/AvantSearch/controllers/FindController.php on line 283