Getting this error while navigating to /{cluster}/info.

Recoverable fatal error: Argument 1 passed to Drupal\elasticsearch\Controller\ElasticSearchController::info() must be an instance of Drupal\Core\Config\Entity\ConfigEntityBase, string given in Drupal\elasticsearch\Controller\ElasticSearchController->info() (line 53 of modules/elasticsearch_module_for_drupal_8/src/Controller/ElasticsearchController.php).

It fails to load the complete cluster object and just passes the (string) cluster name.

CommentFileSizeAuthor
1.png87.95 KBxan.ps
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xan.ps’s picture

Title: Failed to load cluster object in ElasticssearchController::info » Failed to load cluster object in ElasticsearchController::info
Issue summary: View changes

  • xan.ps committed cea9d0f on 8.x-1.x
    Issue #2301021 by xan.ps: Updating code trying to show cluster info
    
xan.ps’s picture

Status: Active » Closed (fixed)