SitesGroupOverridesService::getRelationshipsWithOverrides(): Argument #1 ($entity) must be of type Drupal\Core\Entity\ContentEntityInterface, null given

Created on 26 May 2025, about 2 months ago

I get this error on a views page with a path "user/%user/somepath".

TypeError: Drupal\sites_group_overrides\SitesGroupOverridesService::getRelationshipsWithOverrides(): Argument #1 ($entity) must be of type Drupal\Core\Entity\ContentEntityInterface, null given, called in /var/www/html/web/modules/contrib/sites_group_overrides/src/Form/SitesGroupOverridesForm.php on line 135 in Drupal\sites_group_overrides\SitesGroupOverridesService->getRelationshipsWithOverrides() (line 215 of /var/www/html/web/modules/contrib/sites_group_overrides/src/SitesGroupOverridesService.php).
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany mhh

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