Call to a member function preExecute() on null in SearchApiTimeCache::generateResultsKey()

Created on 15 November 2022, about 2 years ago
Updated 5 December 2023, 12 months ago

Problem/Motivation

Call to a member function preExecute() on null' in /mnt/www/html/marsinc01live/docroot/modules/contrib/search_api/src/Plugin/views/cache/SearchApiCachePluginTrait.php:206
in Drupal\search_api\Plugin\views\cache\SearchApiTimeCache::generateResultsKey called at /mnt/www/html/marsinc01live/docroot/modules/contrib/search_api/src/Plugin/views/cache/SearchApiCachePluginTrait.php (173)

Steps to reproduce

Proposed resolution

Change preExecute call to Null-safe operator, to check & proceed only if the query is not empty.

Remaining tasks

๐Ÿ› Bug report
Status

Needs work

Version

1.0

Component

Views integration

Created by

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