Class "Drupal\Component\Utility\DeprecationHelper" not found in src/Controller/AutocompleteController.php

Created on 18 June 2024, 7 months ago
Updated 13 July 2024, 6 months ago

Problem/Motivation

On Drupal 9.x the latest version of the module fails with the error:

Class "Drupal\Component\Utility\DeprecationHelper" not found in /var/www/html/web/modules/contrib/search_api_autocomplete/src/Controller/AutocompleteController.php

Steps to reproduce

On a Drupal 9 installation, upgrade to version 8.x-1.9 and observe the logs when invoking the autocomplete functionality.

Proposed resolution

Avoid calling DeprecationHelper where it doesn't exist.

๐Ÿ› Bug report
Status

Fixed

Version

1.9

Component

General code

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada infojunkie Vancouver

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