Warning: Undefined array key "#field_name" in Drupal\tagify\Element\EntityAutocompleteTagify::processEntityAutocompleteTagify()

Created on 30 April 2024, 9 months ago
Updated 7 May 2024, 8 months ago

Problem/Motivation

The following error is logged when opening a view where Tagify is used for an exposed filter:

Warning: Undefined array key "#field_name" in Drupal\tagify\Element\EntityAutocompleteTagify::processEntityAutocompleteTagify()

Proposed resolution

I guess this makes sense, because in that context the widget isn't working with a field. I'm not sure why the #field_name element property was added in the first place, so no idea how to fix this.

🐛 Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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