rollbar / rollbar-php-wordpress

Official WordPress plugin from Rollbar, Inc.
https://rollbar.com/
GNU General Public License v2.0
15 stars 20 forks source link

Rollbar plugin creating errors and reporting itself (cron) #82

Closed ArturMoczulski closed 4 years ago

ArturMoczulski commented 5 years ago

Issue was brought up on Wordpress plugin page forum: https://wordpress.org/support/topic/rollbar-plugin-creating-errors-and-reporting-itself-cron/

Request url /wp-cron.php?doing_wp_cron=1554191111.1389780044555664062500

File /wp-content/plugins/rollbar/src/Settings.php line 103 in session_start

Issue is this line
if( !session_id()) {

Fixed by this change
if( !session_id() && !defined( 'DOING_CRON' )) {
acobster commented 5 years ago

@ArturMoczulski thanks for addressing this! I found this warning and patched our installation as described above. Just wondering if we can expect this to land in the next release?

E-VANCE commented 4 years ago

+1

Still seeing wp_cron errors piling up in our dashboard...

acobster commented 3 years ago

The 2.6.1 release does not have this change for whatever reason, so this is still a problem for us too.