Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pro plugin spams error logs #141

Open
androidacy-user opened this issue Oct 26, 2022 · 1 comment
Open

Pro plugin spams error logs #141

androidacy-user opened this issue Oct 26, 2022 · 1 comment

Comments

@androidacy-user
Copy link
Contributor

androidacy-user commented Oct 26, 2022

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant