It has been noted that if there is no pre-existing Moodle configuration for Elastic Search and the default config values fail to resolve to a response, this will instead return a new \search_elastic\guzzle_exception() which does not contain a getBody() method, thereby breaking the \search_elastic\engine method validate_index()
Here is a stack trace from an upgrade on a Moodle instance:
It has been noted that if there is no pre-existing Moodle configuration for Elastic Search and the default config values fail to resolve to a response, this will instead return a
new \search_elastic\guzzle_exception()
which does not contain agetBody()
method, thereby breaking the\search_elastic\engine
methodvalidate_index()
Here is a stack trace from an upgrade on a Moodle instance:
Default exception handler: Exception - Call to undefined method search_elastic\guzzle_exception::getBody() Debug: Error code: generalexceptionmessage