Drupal 9 compatibility, deprecated code

Created on 30 September 2020, over 4 years ago
Updated 7 March 2023, about 2 years ago

Problem/Motivation

Aside from adding "core_version_requirement: ^8 || ^9" in the info.yml file, the module appears to be using db_query() - a deprecated function in Drupal 9. When I attempted to perform a search, I got the following error message:

An AJAX HTTP error occurred.
Path: /imce
HTTP Result Code: 200
StatusText: OK
ResponseText: Error: Call to undefined function Drupal\imce_search_plugin\Plugin\ImcePlugin\db_query() in Drupal\imce_search_plugin\Plugin\ImcePlugin\Search->opSearch() (line 43 of /PATH/TO/modules/contrib/imce_search/src/Plugin/ImcePlugin/Search.php).

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇺🇸United States jasonluttrell Washington, DC area

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