Undefined array key "description" in drupal_check_module()

Created on 20 August 2024, 5 months ago
Updated 22 August 2024, 5 months ago

Problem/Motivation

Using Drupal 11, installing the “ZURB TwentyTwenty” module without its library files loaded in their correct locations, a 500 error with “Undefined array key "description" in drupal_check_module()”.

Steps to reproduce

1. Composer require the “ZURB TwentyTwenty” module on a Drupal 11 site.
2. Forget to load its required library files.
3. Try to enable “ZURB TwentyTwenty”.
4. A 500 error message (or PHP error stack) should be displayed.

Proposed resolution

Clean up the requirement check and prevent a 500 error (or PHP stack error)

Remaining tasks

User interface changes

None, except to display a nice message “Zurb TwentyTwenty plugin missing in /libraries/twentytwenty”

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada xmacinfo Canada

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

Comments & Activities

Production build 0.71.5 2024