From 98fdc6463040309db00e7a4d0e3cfa25d507b0c4 Mon Sep 17 00:00:00 2001 From: William Tam Date: Fri, 20 Sep 2024 11:17:48 -0400 Subject: [PATCH] Revert "remove errorlogging" This reverts commit 9f65c9b1ddf8b70b06ef6ad153a2a15eb9d7da2f. --- classes/class-PMSSO-Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/class-PMSSO-Client.php b/classes/class-PMSSO-Client.php index ac19acb..9bc5ebc 100644 --- a/classes/class-PMSSO-Client.php +++ b/classes/class-PMSSO-Client.php @@ -506,6 +506,7 @@ public function get_latest_pbs_userinfo($access_token = '') { $info = curl_getinfo($ch); $errors = curl_error($ch); curl_close($ch); + $response = json_decode($response_json, true); if (isset($response['profile'])) { $userinfo = $response['profile']; // append the VPPA status