- Issue created by @malcomio
- Merge request !219Issue #3517059: Error when accessing search results page if index is disabled → (Open) created by malcomio
- 🇬🇧United Kingdom malcomio
If we check that $query exists before trying to call getSearchId on it, we get the message "Cannot search on a disabled index." as expected.
See https://git.drupalcode.org/project/search_api/-/merge_requests/219