Fix error messages when the Search Overrides module is not installed

Created on 29 May 2024, 6 months ago
Updated 12 June 2024, 5 months ago

Problem/Motivation

An attached library related to the search overrides module causes error messages if search overrides module is not installed.

Steps to reproduce

1- Go to /admin/config/development/logging.
2- Set "Error messages to display" to "All messages, with backtrace information".
3- enable the module.
4- Ensure that the search overrides module is not installed.
5- Go to keysave config page /admin/config/user-interface/keysave.
6- If error messages are still not showing, clear the cache.

Proposed resolution

Remove the line $form['#attached']['library'][] = 'search_overrides/drupal.search_overrides.admin';
from KeysaveSettingsForm.php.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

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