Argument #1 ($values) must be of type Drupal\views\ResultRow, null given

Created on 22 February 2024, 9 months ago

Problem/Motivation

Since switching to PHP 8.3 I get the following error:
TypeError: Drupal\views\Plugin\views\field\EntityField::getValue(): Argument #1 ($values) must be of type Drupal\views\ResultRow, null given, called in /var/www/html/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php on line 801 in Drupal\views\Plugin\views\field\EntityField->getValue() (line 1072 of core/modules/views/src/Plugin/views/field/EntityField.php).

Steps to reproduce

I created a view table with aggregation-option, add fields title, status, created, changed, operations.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium mikell

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

Comments & Activities

  • Issue created by @mikell
  • πŸ‡§πŸ‡ͺBelgium mikell
  • πŸ‡§πŸ‡ͺBelgium mikell
  • πŸ‡¦πŸ‡ΉAustria maxilein

    Your patch does not apply - neither to 2.0.2 nor to 2.dev

    It seems to be a patch to core. Do you have any more information on that?
    Is it from another patch?

  • Status changed to Needs work 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia
  • πŸ‡¦πŸ‡ΉAustria jordik

    Does this error occur on a clean install and with the style plugin set to Table and not Table with aggregation options?

  • Status changed to Postponed: needs info about 1 month ago
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    The error message says the error is occurring in the core Views module.

    The patch is for the core Views module.

    I don't see how you conclude there is a problem with Views Aggregator? Can you provide steps to reproduce this? One way to test it was suggested in #6.

Production build 0.71.5 2024