Undefined array key "field_name" in Drupal\selective_better_exposed_filters\Plugin\better_exposed_filters\filter\SelectiveFilterBase::exposedFormAlter()

Created on 29 April 2024, 8 months ago
Updated 25 June 2024, 6 months ago

Problem/Motivation

After updating my site to the latest version of core, I get this warning message, because the field field_name may not exist in said array.

Proposed resolution

Check if the field field_name exist in the $filter->definition array

✨ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain cmarrufo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024