Closed (fixed)
Project:
OpenTelemetry
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
31 Mar 2023 at 14:09 UTC
Updated:
3 Apr 2023 at 05:39 UTC
Jump to comment: Most recent
Now the module works well on Drupal 10, but fails on Drupal 9.
It's because the Logger interface in Drupal 10 and 9 are incompatible.
Will be good to invent some workaround to make the module works well for both Drupal versions simultaneously.
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
Comment #4
murzI've invented a way via moving the problematic function to two independent traits, and manually require the right one, depending in the Drupal version. More detailed explanation is here.
Also, it is possible now to even make the module compatible with PHP 7.4, if someone needs this - please create a separate feature request.
Comment #5
murz