Undefined array key "is_grouped"

Created on 9 February 2024, 7 months ago
Updated 6 September 2024, 1 day ago

Problem/Motivation

I'm getting a warning

Warning: Undefined array key "is_grouped" in Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\FilterWidgetBase->getExposedFilterFieldId() (line 339 of modules/contrib/better_exposed_filters/src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php).

Steps to reproduce

A better exposed filter with at least two exposed fields.

Proposed resolution

Convert "?:" to "??" on line 339 of src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php

Remaining tasks

A PR would be good.

User interface changes

None

API changes

None

Data model changes

None

๐Ÿ› Bug report
Status

Closed: outdated

Version

6.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada adixon

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024