wp-sentry: WP_SENTRY_BROWSER_DSN and WP_SENTRY_VERSION not working

HI everyone, I have activated the plugin and I have setup the configuration key on wp-config.php like this:

define('WP_SENTRY_PHP_DSN', 'MY_PHP_URL');
define('WP_SENTRY_BROWSER_DSN', 'MY_JS_URL');

This is a screen from admin panel:

Schermata 2021-06-29 alle 14 34 41

As you can see the js tracing is not enabled. I also tested WP_ENVIRONMENT_TYPE that is not working.

How can I solve this?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (12 by maintainers)

Most upvoted comments

Update: problem was caused by a migration to a new server, so the changed wp-config with Sentry credentials was never used ._. It instead loaded a different wp-config…

Bit of a dumb fault, sorry!

Hi @stayallive,

Sorry for my late reply.

I’m gonna try Sentry on a non-WordPress project first to exclude any other possible problems from my side. Gonna let you know what my results are!