Problem/Motivation
After updating to beta 6 the declare strict types on the views plugins causes the site to return a 500 if Search API module is not installed.
Issue fork entityreference_filter-3606353
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
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.