patreon-wordpress
patreon-wordpress copied to clipboard
Pro plugin spams error logs
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
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