Dependency on 'update' module

Created on 11 March 2021, about 4 years ago
Updated 2 May 2023, almost 2 years ago

Problem/Motivation

There is an undocumented dependency on the Drupal update module resulting in errors during a cache rebuild.

Steps to reproduce

Setup a Drupal 8 or 9 site and install the prod_check module. Perform a cache rebuild.

PHP Fatal error: Uncaught Error: Call to undefined function Drupal\prod_check\Plugin\ProdCheck\Modules\update_get_available() in .../web/modules/contrib/prod_check/src/Plugin/ProdCheck/Modules/ModuleList.php:105

Proposed resolution

Add the dependency or update prod_check to be completely functional without the 'update' module.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium yoerioptr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024