Skip to content

PHP 8.2 update: Access array offset on value of type null #42

@kwiechmann

Description

@kwiechmann

Avoid lots of warnings in dblog with this patch.

Environment built with these new components:

  • Drupal 10.1.4
  • PHP 8.2.11

Notifications to eliminate:

  • Warning: Trying to access array offset on value of type null in Drupal\graphql_views\Plugin\GraphQL\Fields\View->resolveValues() (line 101 of C:\xampp\htdocs\cia-drupal\docroot\modules\contrib\graphql_views\src\Plugin\GraphQL\Fields\View.php)
  • Warning: Trying to access array offset on value of type null in Drupal\graphql_views\Plugin\GraphQL\Fields\View->Drupal\graphql_views\Plugin\GraphQL\Fields{closure}() (line 118 of C:\xampp\htdocs\cia-drupal\docroot\modules\contrib\graphql_views\src\Plugin\GraphQL\Fields\View.php)

array_offset_on_value_of_type_null.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions