Version 4.0.11 and above require Drupal core 9.3.x / 10.x

Created on 11 February 2023, almost 2 years ago
Updated 31 May 2024, 8 months ago

Problem/Motivation

With Drupal 9, after upgrading to version 4.0.11, this error in the PHP logs:
NOTICE: PHP message: PHP Fatal error: Trait 'Drupal\Core\Entity\BundlePermissionHandlerTrait' not found in /var/www/html/docroot/modules/contrib/environment_indicator/src/EnvironmentIndicatorPermissions.php on line 12

And admin pages do not load (WSOD).

The trait BundlePermissionHandlerTrait class does not exist for Drupal 9 and was not introduced until Drupal core 10.1.x.

Steps to reproduce

  1. Install Drupal 9
  2. Install Version 4.0.11 or above of this module.
  3. Browse to /admin/modules

Proposed resolution

Starting from 4.0.11, create a new minor or major version of the module that is only compatible with 10.1+

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States teknorah Mokena, IL, US

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