I'm assuming this is related to Enhanced Search?
Any ideas
Any ideas
Code:
Server error log
[LIST]
[*]
[*]ErrorException: [E_RECOVERABLE_ERROR] Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given, called in /home/sites/public_html/src/vendor/guzzlehttp/guzzle/src/Client.php on line 89 and defined
[*]
[*]src/vendor/guzzlehttp/guzzle/src/Client.php:128
[*]
[*]Generated by: Unknown account
[*]
[*]Aug 25, 2019 at 12:53 PM
[/LIST]
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Client.php(128): XF::handlePhpError(4096, 'Argument 3 pass...', '/home/sites/xf....', 128, Array)
#1 src/vendor/guzzlehttp/guzzle/src/Client.php(89): GuzzleHttp\Client->request('createRequest', 'get', '/')
#2 src/addons/XFES/Elasticsearch/Api.php(335): GuzzleHttp\Client->__call('createRequest', Array)
#3 src/addons/XFES/Elasticsearch/Api.php(335): GuzzleHttp\Client->createRequest('get', '/')
#4 src/addons/XFES/Elasticsearch/Api.php(90): XFES\Elasticsearch\Api->request('get', '/')
#5 src/addons/XFES/Elasticsearch/Api.php(107): XFES\Elasticsearch\Api->version()
#6 src/addons/XFES/Search/Source/Elasticsearch.php(226): XFES\Elasticsearch\Api->majorVersion()
#7 src/addons/XFES/Search/Source/Elasticsearch.php(145): XFES\Search\Source\Elasticsearch->getDslFromQuery(Object(XF\Search\Query\Query), '300')
#8 src/XF/Search/Search.php(164): XFES\Search\Source\Elasticsearch->search(Object(XF\Search\Query\Query), '300')
#9 src/XF/Repository/Search.php(34): XF\Search\Search->search(Object(XF\Search\Query\Query))
#10 src/XF/Pub/Controller/Search.php(395): XF\Repository\Search->runSearch(Object(XF\Search\Query\Query), Array, false)
#11 src/XF/Pub/Controller/Search.php(241): XF\Pub\Controller\Search->runSearch(Object(XF\Search\Query\Query), Array, false)
#12 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Search->actionMember(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(249): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'member', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), NULL)
#14 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), NULL)
#15 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#17 src/XF.php(390): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}
Request state
array(4) {
["url"] => string(38) "/index.php?search/member&user_id=12789"
["referrer"] => bool(false)
["_GET"] => array(2) {
["search/member"] => string(0) ""
["user_id"] => string(5) "12789"
}
["_POST"] => array(0) {
}
}