The Stable9 update is not working

Created on 29 June 2023, over 1 year ago
Updated 30 June 2023, over 1 year ago

Not sure exactly why it happened, so I will try to describe my use case.

I have a site in production running a theme based on Material Base 8.x-1.10, Drupal 9.4.8.

Recently I reworked everything on my local dev setup:
- Updated to Drupal 9.5.9
- Installed Material Base 3.0.0-beta1, created a new custom subtheme.

Everything went ok, and I was ready to move it to a staging environment so it can be reviewed/tested.
However there it went wrong,

   Unable to install the <em class="placeholder">Material Base</em> theme since it requires the <em class="placeholder">Stable 9</em> theme.  

Eventually I "fixed" it by changing the base theme to material_stable9 again, which seems to have been set to stable9 2 weeks ago in https://git.drupalcode.org/project/material_base/-/commit/eb6946e29fc527...
However that does not seem like the correct way to fix it.
I also tried the whole procedure twice from a reset database, making sure to disable material_base and my subtheme beforehand. But the end result is the same.

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇧🇪Belgium rv0

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

Comments & Activities

  • Issue created by @rv0
  • 🇬🇪Georgia iamdroid

    Hi @rv0, thanks for this report.

    Long story short the proper solution is enabling the Stable 9 theme.
    It is a Drupal Core theme but hidden from the theme list.
    It should be enabled automatically during the initial installation of the Material Base 3.x theme or during updating the theme but only for Drupal 9.4+ (starting 9.4 themes support post-update hooks).

    It is hard to say why exactly Stable 9 remains disabled in your case, did you run the update script after updating the theme? Also, you could double-check stable9 exist in the configuration (core.extention.yml). In any case, you can just enable Stable 9 via Drush and it should solve everything. material_stable9 is supposed to be removed in further versions, so it shouldn't be enabled.

    Good luck!

  • Status changed to Closed: works as designed over 1 year ago
Production build 0.71.5 2024