WPIntell

Source evidence

Catching errors before ‘init’ action

Rollbar · support · 2019-02-06T21:54:00+00:00

mixedsentiment
highseverity
0.88relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
indrek_k resolved
Hi there! I had a case of a fatal error not being reported to Rollbar at all. Looking at the plugin source, it seems like Rollbar PHP logging is initialized only at the init action: \add_action(‘init’, array(&$this, ‘initPhpLogging’)); This is a pretty big problem, because a lot of stuff tends to happen before ‘init’. Wouldn’t it be possible to run the whole thing on ‘plugins_loaded’ instead? In addition to that, it would be great if this plugin could be used as a mu-plugin. This would make it possible to catch errors from other (regular) plugins. (Sentry’s WP plugin has that feature, for example) Thanks! Thanks for reporting. I’ve recreated this as a GitHub issue in the repo: https://github.com/rollbar/rollbar-php-wordpress/issues/73 And looking into implementing this now. This has been implemented and included in release 2.5.0 Awesome!

Comments

3 shown
arturmoczulski 2019-02-12T21:38:00+00:00

Thanks for reporting. I’ve recreated this as a GitHub issue in the repo: https://github.com/rollbar/rollbar-php-wordpress/issues/73 And looking into implementing this now.

arturmoczulski 2019-02-19T22:52:00+00:00

This has been implemented and included in release 2.5.0

indrek_k 2019-02-20T09:59:00+00:00

Awesome!