Closed (fixed)
Project:
Views Reference Filter
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2026 at 21:51 UTC
Updated:
11 Jul 2026 at 12:35 UTC
Jump to comment: Most recent
Comments
Comment #4
maximkashubaThanks for the report, @emerham! You're right that this fails on sites without
Search API, though the cause is the missing `SearchApiFilterTrait` rather than
`declare(strict_types)` itself.
I've pushed an MR that moves the Search API filter into an optional
`entityreference_filter_search_api` submodule, so the trait is only loaded when
Search API is installed. Existing Search API setups are migrated automatically
via an update hook.
Would you mind giving it a try and confirming it resolves the 500 on your site
Comment #5
maximkashubaComment #7
maximkashubaComment #8
maximkashubaFixed, deployed as beta7.