Title: PHP Fatal error
Last modified: July 17, 2023

---

# PHP Fatal error

 *  Resolved Anonymous User
 * (@anonymized-8283632)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-375/)
 * Got this error in the logs. Also had a drastic drop in traffic yesterday, July
   16th.
 *     ```wp-block-code
       PHP Fatal error:  Uncaught Error: Cannot use object of type Google\Site_Kit_Dependencies\GuzzleHttp\Psr7\Request as array in /nas/content/live/ijdevsitestage/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php:535#012Stack trace:#012#0 /nas/content/live/ijdevsitestage/wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php(424): Google\Site_Kit\Core\Authentication\Clients\OAuth_Client->refresh_profile_data(1800)#012#1 /nas/content/live/ijdevsitestage/wp-includes/class-wp-hook.php(308): Google\Site_Kit\Core\Authentication\Authentication->Google\Site_Kit\Core\Authentication\{closure}(Array)#012#2 /nas/content/live/ijdevsitestage/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)#012#3 /nas/content/live/ijdevsitestage/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#4 /nas/content/live/ijdevsitestage/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php(202): do_action('googlesitekit_r...', Array)#012#5 /nas/conten in /nas/content/live/ijdevsitestage/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php on line 535
       ```
   
    -  This topic was modified 2 years, 11 months ago by Anonymous User.
    -  This topic was modified 2 years, 11 months ago by Anonymous User.
    -  This topic was modified 2 years, 11 months ago by [Felipe Velzani](https://wordpress.org/support/users/felipevelzani/).
      Reason: Added the correct format for the code
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatal-error-375%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16902694)
 * Hi @ifixwordpress Thanks for getting in touch and sharing the PHP error you have
   encountered. To investigate this further for you, please could you share the 
   following:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred. Please also include your hosting provider here.
    2. Do you see any warnings or errors when checking your Site Health status ([_Tools > Site Health > Status_](https://i.imgur.com/wSRWwon.png)),
       which differs from your Site Health information? Such errors may include REST
       endpoint references.
    3. Any further PHP logs you may have as well as screenshots or recordings of the
       fatal error.
 * Does temporarily downgrading your PHP version to 7.4 clear these errors? Is Site
   Kit still fully functional for you or is this affecting any of the plugin usability?
 * Let me know if you have any questions in the meantime.
 *  Thread Starter Anonymous User
 * (@anonymized-8283632)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16903707)
    1. Site Health: Submitted via form
    2. No errors
    3. I have no further log errors.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16904090)
 * I can see from your Site Health you have shared that you are on PHP 7.4. Were
   you previously on a different version of PHP or have you switched to 7.4 as asked
   above?
 * If you have changed to 7.4 from 8+ have you seen any difference or do you continue
   to see the error in your logs?
 *  Thread Starter Anonymous User
 * (@anonymized-8283632)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16904190)
 * I did not downgrade, always been on 7.4. I saw the fatal error over this past
   week and upgraded to the latest version yesterday. I have not seen the Fatal 
   Error since but just thought I’d give you a heads up anyways.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16905452)
 * @ifixwordpress Thank you for bringing this to our attention and glad upgrading
   fixed the issue for you. We will perform some tests and address any issues we
   find on this.
 *  [jstraete](https://wordpress.org/support/users/jstraete/)
 * (@jstraete)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16910783)
 * I am on php 8.1.13 and am getting this fatal error on my site newhollandrochester.
   com.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16911543)
 * [@jstraete](https://wordpress.org/support/users/jstraete/) If you are facing 
   an issue with your Site Kit then please can I ask that you [open your own topic](https://wordpress.org/support/plugin/google-site-kit/#new-topic-0)
   where we can assist you individually with this, thanks.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16929559)
 * @ifixwordpress A fix for this is planned to roll out with the next version of
   Site Kit 1.106.0 releasing next week. I will update here once this is available.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16937748)
 * @ifixwordpress Site Kit 1.106.0 is now available. Please can you update to the
   latest version and confirm that you no longer see the error message?
 *  Thread Starter Anonymous User
 * (@anonymized-8283632)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16948466)
 * I updated. I will keep you posted. Thank you very much, your support is very 
   appreciated!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘PHP Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: Anonymous User
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-375/#post-16948466)
 * Status: resolved