Compatibility with BEF 7.1.0-beta1

Created on 7 September 2025, 8 days ago

Problem/Motivation

A fatal error occurs: the declaration of Tagify::create is not compatible with BetterExposedFiltersWidgetBase::create.

Steps to reproduce

1. Install Better Exposed Filters version 7.1.0-beta1.
2. Configure a view using Better Exposed Filters.
3. The following error is triggered:

( ! ) Fatal error: Declaration of Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) must be compatible with Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetBase::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): static in /var/www/html/web/modules/contrib/tagify/src/Plugin/better_exposed_filters/filter/Tagify.php on line 31

Proposed resolution

Update the method signature in Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify::create by adding the static return type.

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΎUruguay ruby232 Montevideo

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