Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kwiechmann opened this issue Oct 26, 2023 · 0 comments
Open

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

kwiechmann opened this issue Oct 26, 2023 · 0 comments

Comments

@kwiechmann
Copy link

kwiechmann commented Oct 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant