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

Created on 22 February 2024, about 1 year 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
  • πŸ‡¦πŸ‡Ή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 about 1 year 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 6 months 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.

  • Status changed to Closed: cannot reproduce 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    If we can't reproduce it we can't determine if it's a problem in this module or elsewhere. And we certainly can't fix it.

    Without further information and participation from the community, I am closing this. If you see this error on your site and would like to get it fixed, then feel free to re-open this issue with instructions for how to reproduce the error.

Production build 0.71.5 2024