AccessUnpublishedRouteLoad::resolveField(Drupal\graphql\GraphQL\Execution\FieldContext $field) must be compatible with Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase::resolveField

Created on 20 August 2025, 22 days ago

Problem/Motivation

With the new graphql version I get the following error:

Fatal error: Declaration of Drupal\access_unpublished\Plugin\GraphQL\DataProducer\AccessUnpublishedRouteLoad::resolveField(Drupal\graphql\GraphQL\Execution\FieldContext $field) must be compatible with Drupal\graphql\Plugin\GraphQL\DataProducer\DataProducerPluginBase::resolveField(Drupal\graphql\GraphQL\Execution\FieldContext $field): mixed in /var/www/html/docroot/modules/contrib/access_unpublished/src/Plugin/GraphQL/DataProducer/AccessUnpublishedRouteLoad.php on line 76

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany chr.fritsch πŸ‡©πŸ‡ͺπŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024