With the release of Drupal 8.8, the 'base theme property no longer defaults to stable as defined in: #3066038: The base theme property in theme .info.yml files is now required.

The radix.info.yml file need the following line added:

base theme: stable

Without this line, any tests run using Drupal 8.8 via the run-tests.sh that use the Radix theme will fail with an error like:

    Remaining deprecation notices (53)

      53x: There is no `base theme` property specified in the radix.info.yml
    file. The optionality of the `base theme` property is deprecated in
    drupal:8.8.0 and is removed from drupal:9.0.0. All Drupal 8 themes must add
    `base theme: stable` to their *.info.yml file for them to continue to work
    as-is in future versions of Drupal. Drupal 9 requires the `base theme`
    property to be specified. See https://www.drupal.org/node/3066038

Comments

cgmonroe created an issue. See original summary.

cgmonroe’s picture

Title: Miss required base theme attribute in info.yml » Missing required base theme attribute in info.yml
arturopanetta’s picture

Status: Active » Needs review
StatusFileSize
new316 bytes

I set base_theme = stable

gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new30.07 KB

Before applying this patch my site gots broken with error message:

Drupal\Core\Extension\InfoParserException: Missing required key [error]
("base theme") in
themes/professional-responsive-theme/radix/radix.theme/radix.theme,
see https://www.drupal.org/node/3066038 in
/Users/gauravmahlawat/Desktop/devdesktop/contribution/d9contri/web/core/lib/Drupal/Core/Extension/ThemeExtensionList.php:269

After applying patch site is working fine. Adding screenshot for reference.
Moving to RTBC +1

ckng’s picture

Status: Reviewed & tested by the community » Closed (outdated)

Fixed per #3128018: Updates for Drupal 9.

Per https://www.drupal.org/node/3066038

Explicitly opting out by specifying base theme: false was (and still is) possible.