Hi @pgiraudie,
Thanks for bringing this to my attention.
I think I’ve found out what’s wrong, but just to confirm, on what PHP version are you running your WordPress installation?
After some more testing I think I have fixed the issue and pushed version 3.4.5.
Please let me know if that update solves the error for you and successfully sends a test event to Sentry.
My project is running on PHP 7.2.10 version.
The new version fixes the issue.
Thanks for all !
I suspected something like that. Looks like anything less than PHP 7.3 (on php-fpm) could produce that error.
Thanks again for bringing it to my attention so it could be fixed 💪
I have an issue to with wp-sentry-integration v3.8.0 (php 7.3.14, WP 5.4.2) making a test & sending a PHP test event:
My stack trace:
Call to undefined method Sentry\Frame::isInternal() – /Users/ws1/Sites/…/wp-content/plugins/wp-sentry-integration/build/vendor/sentry/sentry/src/Integration/FrameContextifierIntegration.php:69
Update:
I found out, that there was another version of sentry in the themes vendor folder. After removing it, everything works fine.
Sorry for the trouble and thanks for the great plugin!
-
This reply was modified 5 years, 11 months ago by
uvo.
No problem @uvo, glad to hear it’s working for you 👌