TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 280 of core/modules/views/src/Plugin/views/filter/InOperator.php).

Created on 10 June 2024, 7 months ago
Updated 3 July 2024, 6 months ago

Problem/Motivation

The view "/foo" is configured to list content items that meet specific criteria.

The following are the details of the configuration settings and filters applied:

Display Format
Format: HTML List

Content Fields
Field1 (ID): Hidden
Field2 (Title): Displayed
Field3 (Subtitle): Displayed
Field4 (Published At): Displayed
Field5 (Primary Theme): Displayed
Field6 (Country): Displayed
Field7 (Type): Displayed
Field8 (Category): Displayed
Field9 (Summary): Displayed
Field10 (Body): Hidden
Field11 (Original Language): Hidden

Filter Criteria
Filter1 (Published): Yes
Filter2 (Content Type): Promising Practice
Filter3 (Type): Exposed filter (taxonomy term with depth (2 levels). This field is causing the error)

Filter4 (Category): Exposed filter
Filter5 (Country): Exposed filter
Filter7 (Default Translation): True

Additional Settings
Global: Combine fields filter (exposed)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Description

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component
Views 

Last updated 2 days ago

Created by

🇬🇷Greece parasxous

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024