Error after to install other module

Created on 15 March 2023, almost 2 years ago

Drupal Version

Drupal 9.4.11
PHP 7.4.33
MySQL 5.40

Domain module version

Domain 8.x-1.0-beta8

Steps to reproduce

I only installed a module but to be precise the module is called hacked and when it finished installing the following error was displayed:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function id() on null in Drupal\domain\ContextProvider\CurrentDomainContext->getRuntimeContexts() (line 45 of modules/contrib/domain/domain/src/ContextProvider/CurrentDomainContext.php).
Drupal\domain\ContextProvider\CurrentDomainContext->getRuntimeContexts() (Line: 79)
Drupal\Core\Plugin\Context\LazyContextRepository->getRuntimeContexts() (Line: 96)
Drupal\theme_switcher\Theme\ThemeSwitcherNegotiator->applies() (Line: 67)
Drupal\Core\Theme\ThemeNegotiator->determineActiveTheme() (Line: 405)

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024