Error after upgrading 2.0.0-alpha2 to 2.0.0-alpha3

Created on 15 July 2025, 17 days ago

After upgrading 2.0.0-alpha2 to 2.0.0-alpha3 our site has the following error on every page:

Fatal error: Uncaught Error: Call to a member function getSchemeAndHttpHost() on null in /app/web/modules/contrib/domain_language/src/DomainLanguageOverrider.php:121
Stack trace:
#0 /app/web/core/lib/Drupal/Core/Config/ConfigFactory.php(276): Drupal\domain_language\DomainLanguageOverrider->getCacheSuffix()
#1 /app/web/core/lib/Drupal/Core/Config/ConfigFactory.php(295): Drupal\Core\Config\ConfigFactory->getCacheKeys()
#2 /app/web/core/lib/Drupal/Core/Config/ConfigFactory.php(154): Drupal\Core\Config\ConfigFactory->getConfigCacheKey('system.logging', true)
#3 /app/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php(122): Drupal\Core\Config\ConfigFactory->doLoadMultiple(Array, true)
#4 /app/web/core/lib/Drupal/Core/Config/ConfigFactory.php(104): Drupal\domain_config_ui\Config\ConfigFactory->doLoadMultiple(Array, true)
#5 /app/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php(163): Drupal\Core\Config\ConfigFactory->doGet('system.logging', true)
#6 /app/web/core/lib/Drupal/Core/Config/ConfigFactory.php(89): Drupal\domain_config_ui\Config\ConfigFactory->doGet('system.logging')
#7 /app/web/core/lib/Drupal.php(414): Drupal\Core\Config\ConfigFactory->get('system.logging')
#8 /app/web/core/includes/errors.inc(330): Drupal::config('system.logging')
#9 /app/web/core/includes/errors.inc(122): _drupal_get_error_level()
#10 /app/web/core/includes/bootstrap.inc(146): error_displayable()
#11 /app/web/core/includes/bootstrap.inc(130): _drupal_exception_handler_additional(Object(Error), Object(Error))
#12 [internal function]: _drupal_exception_handler(Object(Error))
#13 {main} thrown in /app/web/modules/contrib/domain_language/src/DomainLanguageOverrider.php on line 121

I have no idea how to debug this further

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom intrafusion Edinburgh, UK

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

Comments & Activities

Production build 0.71.5 2024