Fix error: Call to a member function getExtraData() on null in facets_exposed_filters_views_post_execute()

Created on 7 August 2025, 1 day ago

Problem/Motivation

If there are no results, there may be a white screen with this error:

Error: Call to a member function getExtraData() on null in facets_exposed_filters_views_post_execute()

Proposed resolution

Make the code robust against null being returned by SearchApiQuery::getSearchApiResults().

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

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