A fatal error occurs: the declaration of Tagify::create
is not compatible with BetterExposedFiltersWidgetBase::create
.
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
Update the method signature in Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify::create
by adding the static
return type.
Active
1.2
Code