Undefined constant Drupal\\search_api_solr\\SolrBackendInterface::SEARCH_API_SOLR_SCHEMA_VERSION

Created on 21 August 2023, over 1 year ago
Updated 24 October 2023, about 1 year ago

Problem/Motivation

On an instance of Drupal core 10.1.2 with Search API 8.x-1.29 and Search API Autocomplete 8.x-1.7 modules installed and after:

- a fresh installation of a self-hosted Solr server version 9.3.0
- an update of the module Search API Solr from version 4.2.12 to 4.3.0-alpha1
- configurating successfully the new server and some indexes on /admin/config/search/search-api

When accessing some pages as /admin/config/search/search-api/index/[SOME_INDEX]/autocomplete and, way more problematic, the page /admin/reports/status, I've got an error 500 with the following messages inside my weblogs:

AH01071: Got error 'PHP message: Uncaught PHP Exception Error: "Undefined constant Drupal\\search_api_solr\\SolrBackendInterface::SEARCH_API_SOLR_SCHEMA_VERSION" at <ROOT>/modules/contrib/search_api_autocomplete/search_api_autocomplete.install line 19'

AH01071: Got error 'PHP message: Uncaught PHP Exception Error: "Undefined constant Drupal\\search_api_solr\\SolrBackendInterface::SEARCH_API_SOLR_SCHEMA_VERSION" at <ROOT>/modules/contrib/search_api_autocomplete/src/Form/IndexOverviewForm.php line 136'

Proposed resolution

Tried to clear the the cache several times, not changing anything
Activation of the module Search API Solr Autocomplete changes nothing too
The only way to remove the errors is to remove the module Search API Autocomplete

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

General code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance gaspounet

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

Comments & Activities

Production build 0.71.5 2024