Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293895

Deprecated core themes cannot be disabled on the "Appearance" tab because they are hidden

$
0
0

Problem/Motivation

After upgrading a website to version 9.5.0, the following warning appeared in the site's Status report:

Deprecated themes enabled
Deprecated themes found: Classy, Stable.

My site is using Olivero as its default theme and Claro as the administration theme. Neither depends on Classy or Stable. I am unable to find a means to disable these unused deprecated themes. They do not appear on the list of themes on the "Appearance" page, where one normally uninstall unused themes. Screenshot:

My appearance page

There is a documentation page about Deprecated and obsolete modules and themes, but it just say that they are deprecated and suggests that one should use Starterkit theme generator instead. It doesn't tell one how to disable them.

The problem only affects legacy websites. A brand new install of Drupal 9.5.0 with Olivero and Claro installed does not get this warning.

I suspect that the reason this happens is that Bootstrap5 version 2.0.5 (which used Classy as its "base theme", which in turn used Stable) in the past was installed as the default theme. However, Bootstrap5 is no longer installed now.

Steps to reproduce

To reproduce, install Drupal 9.5.0 and set Bootstrap5 version 2.0.5 as the default theme. Then uninstall Bootstrap5 and revert to Olivero as its default theme. You shall now get the warning about these deprecated themes being enabled.

Proposed resolution

Remaining tasks


Viewing all articles
Browse latest Browse all 293895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>