Warning: Undefined array key "?" in Drupal\views\Plugin\views\filter\FilterPluginBase->acceptExposedInput()

Created on 24 November 2023, about 1 year ago
Updated 15 September 2024, 4 months ago

Problem/Motivation

Fix the issue that generates a PHP notice when we execute a view with fulltext filter exposed.

Steps to reproduce

When we expose a fulltext search filter (using "keys" for filter identifier) we get this PHP notice:

Warning: Undefined array key "keys" in Drupal\views\Plugin\views\filter\FilterPluginBase->acceptExposedInput()

Proposed resolution

Check if $input element is defined using ?? operator. Please, see attached patch.

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Views 

Last updated 15 minutes ago

Created by

🇪🇸Spain markus_petrux

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024