Call to undefined method when enabling elasticsearch_connector_views

Created on 29 January 2022, over 3 years ago
Updated 13 March 2024, over 1 year ago

Problem/Motivation

I setup 8.0.x-dev and successfully connected my server's ES 7.16.3 cluster, and indexed a small sample with no issues. I then went to enable elasticsearch_connector_views, and the site no longer loads. Disabled elasticsearch_connector_views and all was well, with the following in the error log:

Error: Call to undefined method Drupal\elasticsearch_connector\ElasticSearch\ClientManager::getClientForCluster() in elasticsearch_connector_views_views_data() (line 20 of /xx/xx/xx/sitehome/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/elasticsearch_connector_views.views.inc)

Steps to reproduce

Enable elasticsearch_connector_views module

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

7.0

Component

Module

Created by

πŸ‡ΊπŸ‡ΈUnited States marioknight

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024