Critical Error
-
In my Woocommerce Logs, I fatal errors with the following:
2023-07-20T12:35:28+00:00 CRITICAL Uncaught Error: Cannot use object of type Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request as array in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php:535 Stack trace: #0 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php(423): Google\Site_Kit\Core\Authentication\Clients\OAuth_Client->refresh_profile_data(1800) #1 /var/www/html/wp-includes/class-wp-hook.php(308): Google\Site_Kit\Core\Authentication\Authentication->Google\Site_Kit\Core\Authentication\{closure}(Array) #2 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(202): do_action('googlesitekit_r...', Array) #5 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(109): Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client->fetchAccessTokenWithRefreshToken('QWCV6aPt89Ky//e...') #6 /var/www/html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Client.php(732): Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client->authorize() #7 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(220): Google\Site_Kit_Dependencies\Google\Client->execute(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), NULL) #8 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Modules/Module.php(370): Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client->execute(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request)) #9 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Modules/Module.php(214): Google\Site_Kit\Core\Modules\Module->execute_data_request(Object(Google\Site_Kit\Core\REST_API\Data_Request)) #10 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Modules/REST_Modules_Controller.php(538): Google\Site_Kit\Core\Modules\Module->get_data('report', Array) #11 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1181): Google\Site_Kit\Core\Modules\REST_Modules_Controller->Google\Site_Kit\Core\Modules\{closure}(Object(WP_REST_Request)) #12 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/google-site-ki...', Array, NULL) #13 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request)) #14 /var/www/html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/google-site-ki...') #15 /var/www/html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP)) #16 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(Object(WP), Array) #17 /var/www/html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #18 /var/www/html/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array) #19 /var/www/html/wp-includes/class-wp.php(780): WP->parse_request('') #20 /var/www/html/wp-includes/functions.php(1334): WP->main('') #21 /var/www/html/wp-blog-header.php(16): wp() #22 /var/www/html/index.php(17): require('/var/www/html/w...') #23 {main} thrown in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php on line 535
Here is some of my environment setup:
- WordPress version: 6.2.2
- Woocommerce version: 7.9.0
- PHP version: 8.1.13
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Critical Error’ is closed to new replies.