Call to undefined method Drupal\search_api_solr_autocomplete\Plugin\search_api_autocomplete\suggester\Suggester::logException()

Created on 4 July 2024, 2 months ago
Updated 7 August 2024, about 1 month ago

There is no such function as logException() in the Suggester class

Setup

  • Solr version: 1.6
  • Drupal Core version: 10.2.7
  • Search API version: 1.35.0
  • Search API Solr version: 4.3.4
  • Configured Solr Connector:

Issue

When an error is thrown in Drupal\search_api_solr_autocomplete\Plugin\search_api_autocomplete\suggester\Suggester::getSuggesterSuggestions(), a call to a non-existent method is made -- $this->logException().

I suggest using the LoggerChannelTrait and logging the exception that way.

๐Ÿ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡ดRomania Rares Badita

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024