Install

Works with Drupal: ^9 || ^10 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 6.76 MB
MD5: c9babd8c41355ee0b9922f728326cff1
SHA-1: 518f6a483e8b5300e6ea5320eea40b0776b1a958
SHA-256: 031860f93b8bb45b4b9c3c45a7387e6df9387d89eeb372c4e4db1c4a3c1a8a8d
Download zip 6.99 MB
MD5: c91bc5222f75c4ee213c667e8a37322a
SHA-1: 2a8f344acce4698f2354d96d2939f117297a42f4
SHA-256: ffabe6dcf073c98c095e6e12d5c3c910aa6eed98569da4bfcdc325d959a25da1

Release notes

Fixes the fatal error on every page under Drupal 10 and Drupal 11.0–11.2, for this theme and for every sub-theme built on it.

Who must update

  • Every Drupal 10 and Drupal 11.0–11.2 site running d8w3css 2.0.17 — including sites whose default theme is a d8w3css sub-theme (Amun, Amunet, Anhur). Those sites throw ServiceNotFoundException on every page.

Fixes

  • The theme fetched its hook classes with \Drupal::service(…). Core does not load a theme's services.yml, and only registers theme hook classes as services from Drupal 11.3.0. All 18 calls now use \Drupal::classResolver(…).
  • Removed drupal8_w3css_theme.services.yml, which core never loaded.
  • Added HookClassResolutionTest, which fails if that pattern returns.
  • Tests: @group added beside #[Group] for Drupal 10's test runner; CI gains a Drupal 10 (previous major) job.

After updating

Run drush updb, then drush cr.

Created by: flashwebcenter
Created on: 7 Oct 2026 at 01:58 UTC
Last updated: 7 Oct 2026 at 01:59 UTC
Bug fixes

Other releases