Declaration of Select2::defaultConfiguration() must be compatible with FilterWidgetBase::defaultConfiguration()

Created on 16 September 2024, 5 months ago

Problem/Motivation

With BEF v7.0.3, opening the settings popup for a BEF filter in a view results in the following error:

Fatal error: Declaration of Drupal\select2\Plugin\better_exposed_filters\filter\Select2::defaultConfiguration() must be compatible with Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\FilterWidgetBase::defaultConfiguration(): array in modules/contrib/select2/src/Plugin/better_exposed_filters/filter/Select2.php on line 21

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Field widgets

Created by

🇺🇸United States DamienMcKenna NH, USA

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