Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Using D10 it was found this warning message:
User warning: The following theme is missing from the file system: classy in Drupal\Core\Extension\ExtensionPathResolver->getPathname() (line 63 of core/lib/Drupal/Core/Extension/ExtensionPathResolver.php)
It is necessary to replace the default theme Classy since is deprecated. See https://www.drupal.org/node/3313997.
Steps to reproduce
The warning messages appear on every page of Drupal.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3400296-fix-replace-deprecated-theme.patch | 450 bytes | andreadruiz |
Comments
Comment #2
andreadruiz CreditAttribution: andreadruiz at Boehringer Ingelheim commentedThis patch only replaces the classy theme with a stark default theme.
Comment #3
andreadruiz CreditAttribution: andreadruiz at Boehringer Ingelheim commentedComment #5
BerdirIncluding this in #3419009: Use Gitlab CI, you usually can't replace classy with stark, there's a reason tests use classy. the simple replacement for that is starterkit_theme, did that over there.