Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292626

TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in array_filter()

$
0
0

Problem/Motivation

Error message

TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in array_filter() (line 723 of /app/web/core/modules/views/src/Plugin/views/field/EntityField.php).

Also, confirmed in Drupal 10.4 and Drupal 11.0.

Steps to reproduce

  • Add node
  • Create to to display node ids with aggregation
  • Set aggregation settings of ID field in the view to COUNT
  • Save View
  • Change aggregation settings of ID field in the view to MAX results in AJAX error

Proposed resolution

TBA

Remaining tasks

NA

User interface changes

NA

Introduced terminology

NA

API changes

NA

Data model changes

NA

Release notes snippet

TBA


Viewing all articles
Browse latest Browse all 292626

Trending Articles