Open msiemens opened 4 years ago
Agree, would be great to upgrade to Sentry 2 sdk indeed.
@lukeyouell are any updates planned?
Needed this as well. Happy to jump in with a PR if that helps @lukeyouell
There's an alternative plugin that uses the latest SDK: https://github.com/born05/craft-sentry
When using this plugin with PHP 7.4, the following error is thrown:
The relevant lines from
sentry/lib/Raven/Client.php:
:Seems like the Sentry SDK is used in version 1.x which uses the curly brace syntax for string offset. This syntax has been deprecated with PHP 7.4 and throws a runtime error.
I guess the only way to get it to work with PHP 7.4 would be updating to Sentry 2.