Error on views with BEF and Tagify

Created on 5 August 2025, 3 months ago

Problem/Motivation

We're replacing Select2 with Tagify in our project.
We have a filter in a view that searches taxonomy terms with BEF and the Select2 widget, and switching to Tagify displays a Drupal Ajax error. The view preview works, and the filter is still accessible.
As soon as we save the changes, the preview no longer displays anything, and when we go to the view, we get this error:
Warning: Undefined array key "#target_type" in www/modules/contrib/tagify/src/Plugin/better_exposed_filters/filter/Tagify.php on line 63

Steps to reproduce

Add a filter in a views to search in a taxonomy with Select2 widget and switch to Tagify

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France Jérôme Dehorter Lille

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