Update documentation about requirement of PHP 8.1

Created on 21 April 2023, over 1 year ago
Updated 15 May 2023, over 1 year ago

Problem/Motivation

Running on PHP version less than 8.1 will fail with error

Error: Cannot unpack array with string keys in Drupal\graphql_core_schema\ViewsSchemaBuilder->generateViewType() (line 148 of /var/www/html/web/modules/contrib/graphql_core_schema/src/ViewsSchemaBuilder.php)

This is because, support for named arguments is only in PHP 8.1. It's not available in PHP 8.0. Source

Steps to reproduce

Install the module on server with PHP version below 8.1. Create a server and access the endpoint.

Proposed resolution

Update the documentation to reflect the module requirement of minimum PHP version 8.1.

Feature request
Status

Fixed

Version

1.0

Component

Documentation

Created by

🇮🇳India kevinsiji

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

Comments & Activities

Production build 0.71.5 2024