Cannot install from existing config

Created on 13 September 2023, 10 months ago
Updated 14 September 2023, 10 months ago

Problem/Motivation

When installing drupal from an existing configuration that contains this module, installation fails with the following error:

[error] Error: Call to a member function grantPermission() on null in message_banner_install() (line 18 of /var/www/html/web/modules/contrib/message_banner/message_banner.install) #0 [internal function]: message_banner_install(true)

Steps to reproduce

1. Install this module on a blank drupal (10.1.1) site.
2. Export config: drush cex -y
3. Reinstall drupal from the configuration: drush si -y --existing-config
4. You should see the above error.

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia chanderbhushan

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

Comments & Activities

Production build 0.69.0 2024