Skip to content

Troubleshooting Mode #202

Open
Open
@benjaminpick

Description

@benjaminpick

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 (...):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions