• enforces

    (@enforces)


    Hello.

    after update to newest version 1.192 sitekit have a fatal error (only in wordpress cocpit):

    Log:

    [23-Nov-2026 17:18:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Google\Site_Kit_Dependencies\GuzzleHttp\Promise\FulfilledPromise::then() in /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/RedirectMiddleware.php:56
    Stack trace: 0 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/Middleware.php(56): Google\Site_Kit_Dependencies\GuzzleHttp\RedirectMiddleware->__invoke(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 1 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/HandlerStack.php(67): Google\Site_Kit_Dependencies\GuzzleHttp\Middleware::{closure:{closure:Google\Site_Kit_Dependencies\GuzzleHttp\Middleware::httpErrors():53}:54}(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 2 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/Client.php(857): Google\Site_Kit_Dependencies\GuzzleHttp\HandlerStack->__invoke(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 3 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/Client.php(143): Google\Site_Kit_Dependencies\GuzzleHttp\Client->transfer(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 4 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/Client.php(156): Google\Site_Kit_Dependencies\GuzzleHttp\Client->sendAsync(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 5 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/google/auth/src/HttpHandler/Guzzle6HttpHandler.php(45): Google\Site_Kit_Dependencies\GuzzleHttp\Client->send(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request), Array) 6 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(266): Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\Guzzle6HttpHandler->__invoke(Object(Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request)) 7 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(189): Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client->fetchAuthToken(Object(Google\Site_Kit\Core\Authentication\Clients\OAuth2), Object(Google\Site_Kit_Dependencies\Google\Auth\HttpHandler\Guzzle7HttpHandler), Array) 8 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php(118): Google\Site_Kit\Core\Authentication\Clients\Google_Site_Kit_Client->fetchAccessTokenWithRefreshToken(‘E4CtsHW3VYnmWnr…’) 9 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php(739): Google\Site_Kit\Core\Authentication\Clients\OAuth_Client->refresh_token() 10 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php(692): Google\Site_Kit\Core\Authentication\Authentication->refresh_user_token() 11 /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php(399): Google\Site_Kit\Core\Authentication\Authentication->maybe_refresh_token_for_screen(‘dashboard’) 12 /home/XXX/domains/XXX.com/public_html/wp-includes/class-wp-hook.php(353): Google\Site_Kit\Core\Authentication\Authentication->{closure:Google\Site_Kit\Core\Authentication\Authentication::register():398}(Object(WP_Screen)) 13 /home/XXX/domains/XXX.com/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array) 14 /home/XXX/domains/XXX.com/public_html/wp-includes/plugin.php(523): WP_Hook->do_action(Array) 15 /home/XXX/domains/XXX.com/public_html/wp-admin/includes/class-wp-screen.php(426): do_action(‘current_screen’, Object(WP_Screen)) 16 /home/XXX/domains/XXX.com/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen() 17 /home/XXX/domains/XXX.com/public_html/wp-admin/admin.php(217): set_current_screen() 18 /home/XXX/domains/XXX.com/public_html/wp-admin/index.php(10): require_once(‘/home/XXX…’) 19 {main}

    thrown in /home/XXX/domains/XXX.com/public_html/wp-content/plugins/google-site-kit/third-party/guzzlehttp/guzzle/src/RedirectMiddleware.php on line 56

Viewing 1 replies (of 1 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @enforces, and sorry to hear you’ve encountered issues after updating. As this may have been caused by a failed update, and given you don’t have access to your wp-admin panel, what you may wish to do is to remove the Site Kit directly (/public_html/wp-content/plugins/google-site-kit). You can do this from your hosting control panel, or via FTP if you have access.

    If you’re unsure, your hosting provider may be able to assist. After deleting the Site Kit directory, you can access wp-admin once more, before then installing Site Kit. All your previously connected services should remain intact.

    Let me know how you get on with the above, or ask if you have any questions. I’ll keep an eye out for your response here! Thank you.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.