Problem/Motivation

Warning logged from module:

User notice: Scope: unexpected call to Scope::detach() for scope #11038, scope was already detached at Drupal.opentelemetry.OpentelemetryService.finalize(OpentelemetryService.php:349) at Drupal.opentelemetry.OpentelemetryService.onTerminate(OpentelemetryService.php:338)

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

gaurav_manerkar created an issue. See original summary.

gaurav_manerkar’s picture

Issue summary: View changes

gaurav_manerkar changed the visibility of the branch 3415746-unexpected-call-to to hidden.

gaurav_manerkar changed the visibility of the branch 3415746-unexpected-call-to to active.

gaurav_manerkar’s picture

Status: Active » Needs review

Removed $this->rootScope->detach(); from service.

Murz made their first commit to this issue’s fork.

murz’s picture

Title: Unexpected call to scope::detach » Notice "Unexpected call to scope::detach" on the terminating
Status: Needs review » Fixed

I removed the `detach()` action from the terminating flow, cuz it's seems not needed for the general usage.

murz’s picture

Status: Fixed » Closed (fixed)