Problem/Motivation
After installing the module we've started seeing some fatal errors due to an undefined method.
Error: Call to undefined method Sentry\Tracing\TransactionContext::fromSentryTrace() in Drupal\raven\EventSubscriber\RequestSubscriber->onRequest() (line 92 of /mnt/www/html/docroot/modules/contrib/raven/src/EventSubscriber/RequestSubscriber.php)
It looks like that method was added in 3.1.0 of the sdk.
Steps to reproduce
Install the latest version of the module with version 3.0.0 of the SDK.
Proposed resolution
Update the dependency to ^3.1.0.
Remaining tasks
Do it!
User interface changes
API changes
Data model changes
Comments
Comment #2
andyf commentedComment #5
mfbGood catch! Theoretically it shouldn't be easy for someone to use an old version of the sdk, but who knows..
Comment #6
andyf commentedAwesome, thanks for the quick turn-around!
Yeah, we have some, er, cruft in our composer.json and I suspect it's down to some dodgy
config.platformvalues and not using--ignore-platform-reqs, definitely an edge-case!Thanks again
Comment #8
mfbArgh, it's not that easy, we are now in dependency hell with Drupal 8.9 support :( So I needed to revert these and check for the missing method.