patreon-wordpress icon indicating copy to clipboard operation
patreon-wordpress copied to clipboard

Pro plugin spams error logs

Open androidacy-user opened this issue 3 years ago • 1 comments
trafficstars

Sorry if this is not the right place to file this issue, but we purchased the Pro plugin and since installing, the plugin has been spamming our poor Sentry instance with logs like:

ErrorException /wp-content/plugins/patron-plugin-pro/index.php in include_once
Warning: Undefined array key "plugin"

/wp-content/plugins/patron-plugin-pro/index.php in include_once at line 24
ErrorException /wp-content/plugins/patron-plugin-pro/plugin/plugin.php in cb_p6_a1_plugin::filter_label_over_patreon_button_p
Warning: Undefined array key "lock"

/wp-content/plugins/patron-plugin-pro/plugin/plugin.php in cb_p6_a1_plugin::filter_label_over_patreon_button_p at line 1952

Every single time the cron runs we get these logs, and it's only on cron runs.

WordPress version: 6.0.3 Pro Plugin version: 1.5.2

androidacy-user avatar Oct 26 '22 01:10 androidacy-user

All it takes is adding a @ in front of the referenced variables to make the log spam go away. Band-aid solution but better than sending GBs of logs to logging servers

androidacy-user avatar Oct 26 '22 18:10 androidacy-user