Skip to main content
added 2 characters in body
Source Link
Johansson
  • 15.4k
  • 11
  • 43
  • 79

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipicallytypically a response for a sucesssuccess request. I tinkthink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response() says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

The IP, according with the code comments, usually is the same that made the request. In some cases it can be different (for example when the IP is private). The IP used in the request is the client IP converted to a network ID in order no anonymize the ID. See WP_Community_Events::get_unsafe_client_ip().

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response() says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

The IP, according with the code comments, usually is the same that made the request. In some cases it can be different (for example when the IP is private). The IP used in the request is the client IP converted to a network ID in order no anonymize the ID. See WP_Community_Events::get_unsafe_client_ip().

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

The log message says "Valid response received" and the response code in the JSON object is 200, which is typically a response for a success request. I think it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response() says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

The IP, according with the code comments, usually is the same that made the request. In some cases it can be different (for example when the IP is private). The IP used in the request is the client IP converted to a network ID in order no anonymize the ID. See WP_Community_Events::get_unsafe_client_ip().

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

deleted 7 characters in body
Source Link
cybmeta
  • 20.6k
  • 5
  • 47
  • 56

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response() says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

The IP, according with the code comments, usually is the same that made the request. In some cases it can be different (for example when the IP is private). The IP used in the request is the client IP converted to a network ID in order no anonymize the ID. See WP_Community_Events::get_unsafe_client_ip().

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response() says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

The IP, according with the code comments, usually is the same that made the request. In some cases it can be different (for example when the IP is private). The IP used in the request is the client IP converted to a network ID in order no anonymize the ID. See WP_Community_Events::get_unsafe_client_ip().

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

deleted 7 characters in body
Source Link
cybmeta
  • 20.6k
  • 5
  • 47
  • 56

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

Update: after viewing the source code, it is notall responses are logged when WP_DEBUGWP_DEBUG_LOG is on but when, not just WP_DEBUG_LOGWP_DEBUG is on.

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

Update: after viewing the source code, it is not when WP_DEBUG is on but when WP_DEBUG_LOG is on.

The log message says "Valid response received" and the response code in the JSON object is 200, which is tipically a response for a sucess request. I tink it is not an error. Note that the docs for WP_Community_Events::maybe_log_events_response says "All responses are logged when debugging, even if they’re not WP_Errors". I understand that if WP_DEBUG is on, then all responses are logged, even when success.

Update: after viewing the source code, all responses are logged when WP_DEBUG_LOG is on, not just WP_DEBUG.

deleted 7 characters in body
Source Link
cybmeta
  • 20.6k
  • 5
  • 47
  • 56
Loading
Source Link
cybmeta
  • 20.6k
  • 5
  • 47
  • 56
Loading