Back to Community

Troubleshooting Site Kit Errors on PHP 8.3 and 8.4

4 threads Sep 7, 2025 PluginSite kit by google

Content

Many WordPress users are excited to upgrade to the latest PHP versions for improved performance and security. However, when using 'Site Kit by Google' with PHP 8.3 or the very new PHP 8.4, you might encounter some unexpected errors or warnings. This guide will help you understand the common issues and provide steps to resolve them.

Common PHP 8.3/8.4 Issues with Site Kit

Based on community reports, the problems generally fall into two categories:

  1. Deprecation Notices: These are warnings, not fatal errors. You might see messages in your server logs about "implicitly marking parameter X as nullable is deprecated." These occur because the plugin and its underlying libraries are updating their code to be fully compatible with the latest PHP standards. The Site Kit by Google team is aware of these and addresses them in ongoing development.
  2. Connection "Unknown Errors": These are more critical and can prevent setup or data display. Common error codes include:
    • GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
    • Unknown Error (code: site not found)
    These are often related to server configuration changes between PHP versions, not the plugin code itself.

How to Troubleshoot and Fix These Issues

For Deprecation Notices (Warnings)

If your site is functioning normally and you are only seeing warnings in your logs:

  1. No action is usually required. The plugin should work correctly. These deprecation notices are logged for developer awareness but do not break functionality.
  2. You can safely wait for a future plugin update where the Site Kit by Google team will continue to refine compatibility with the newest PHP versions.

For Connection "Unknown Errors"

If you are unable to set up Site Kit or it has stopped working, follow these steps:

  1. Verify Your Server Configuration: The "GuzzleHttp requires cURL" error indicates a server-level issue.
    • Contact your web hosting provider and confirm that the cURL extension is installed and enabled for your PHP 8.3/8.4 environment.
    • Also, ask them to verify that the allow_url_fopen setting is enabled in your php.ini configuration file.
    It is possible for these settings to differ between PHP versions on the same host, so explicit confirmation is key.
  2. Reset Site Kit: The "site not found" error can sometimes occur after a change to your site's URL or file paths. A full reset can clear this cached information.
    • In your WordPress admin, go to Tools > Available Tools > Reset Site Kit.
    • Click the Reset Site Kit button. This will disconnect the plugin from your Google account and clear all local settings.
    • After resetting, go to Site Kit > Dashboard and begin the setup process again from scratch.
  3. Check for Conflicts (Advanced): As a last resort, try a conflict test. Temporarily disable all other plugins and switch to a default WordPress theme (like Twenty Twenty-Four). Then, attempt to set up Site Kit again. If it works, re-enable your plugins and theme one by one to identify what was causing the conflict.

If you continue to experience problems after trying these steps, it is highly recommended to search for your specific error message on the plugin's official GitHub repository to see if others have reported the same issue and to find any ongoing discussions or workarounds.