WSOD on /admin/config/domain ArgumentCountError

Created on 3 September 2025, about 1 month ago

Problem/Motivation

When visiting the /admin/config/domain path, there is a WSOD error like this:

ArgumentCountError: Too few arguments to function Drupal\country_path\CountryPathDomainListBuilder::__construct(), 7 passed in /var/www/html/web/modules/contrib/domain/domain/src/DomainListBuilder.php on line 94 and exactly 8 expected in Drupal\country_path\CountryPathDomainListBuilder->__construct() (line 60 of /var/www/html/src/CountryPathDomainListBuilder.php). 

Steps to reproduce

Domain version tested: 2.0.0-beta3 / 2.0.0-beta4
Country_path: Development branch 8.x-1.x

1. Install Domain and Country path modules.
2. Visit /admin/config/domain
3. The error should appear.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain guiu.rocafort.ferrer Barcelona

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024