Error on uninstalling.

Created on 3 November 2024, 19 days ago

Problem/Motivation

I just installed the module on Drupal 11 and error on uninstalling the module.

[error] TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 40 of /var/www/html/web/modules/contrib/graphql/graphql.install) #0 /var/www/html/web/modules/contrib/graphql/graphql.install(40): array_keys()

Steps to reproduce

  1. Install Drupal 11
  2. Install GraphQL 4.9
  3. Uninstall it and you will see the error

Proposed resolution

Need to add a condition in the "hook_uninstall()".

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇵🇰Pakistan usmanjutt84 Islamabad

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024