Problem/Motivation

/admin/reports/ohdear/info is broken.

The website encountered an unexpected error. Try again later.

Error: Call to a member function site() on null in Drupal\ohdear_integration\OhDearSdkService->getSite() (line 126 of modules/contrib/ohdear_integration/src/OhDearSdkService.php).

Drupal\ohdear_integration\OhDearInfo->getSite(0) (Line: 108)
Drupal\ohdear_integration\OhDearInfo->getChecks(0) (Line: 59)
Drupal\ohdear_integration\Controller\OhdearInfoController->info(0)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

useernamee created an issue. See original summary.

useernamee’s picture

Assigned: useernamee » Unassigned
Status: Active » Needs review

Added a quickfix.

petar_basic’s picture

Status: Needs review » Reviewed & tested by the community

  • useernamee committed 573a6c99 on 2.x
    Issue #3450839 by useernamee, petar_basic: 2.0.1 regression /admin/...
useernamee’s picture

Status: Reviewed & tested by the community » Fixed

merged.

will be part of release 2.0.2.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.