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

Troubleshooting Mode #202

Open
benjaminpick opened this issue Feb 22, 2022 · 0 comments
Open

Troubleshooting Mode #202

benjaminpick opened this issue Feb 22, 2022 · 0 comments

Comments

@benjaminpick
Copy link
Member

Is your feature request related to a problem / specific use-case? Please describe.

Common support requests are caused by:

How can we reduce the amount of such requests by making it easier to troubleshoot?

Describe the solution you'd like
There should be a "Troubleshooting" mode similar to "verbose logging" that guides along the troubles above and explains how the plugin is functioning. Output can be both in console.log and, if GEOIP_DETECT_DEBUG is enabled, as trigger_notice (i.e. either in frontend or log file, depending on WP_DEBUG_DISPLAY and WP_DEBUG_LOG).

Client IP is incorrect

The detected client IP is ....
(If this is incorrect, please follow these steps: https://github.com/yellowtree/geoip-detect/wiki/Troubleshooting#q1-he-says-my-ip-is-x-but-i-know-it-is-y)

Warning: Site-caching seems to be enabled - please enable the option "Disable caching a page that contains a shortcode or API call to geo-dependent functions." See https://github.com/yellowtree/geoip-detect/wiki/Troubleshooting#q2-sometimes-the-ip-detection-shows-the-correct-results-but-sometimes-not

``
This is the data connected to your IP (...):

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

No branches or pull requests

1 participant