• Resolved rolandj57

    (@rolandj57)


    After updating to PHP8 I get these errors in healthcheck but seems like Site Kit is working normally.

    Warning: Undefined array key “search-console” in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 406

    Warning: Trying to access array offset on value of type null in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 406

    Warning: Undefined array key “search-console” in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 414

    Warning: Trying to access array offset on value of type null in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 414

    Warning: Undefined array key “analytics” in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 406

    Warning: Trying to access array offset on value of type null in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 406

    Warning: Undefined array key “analytics” in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 414

    Warning: Trying to access array offset on value of type null in /home/h7999se/public_html/wp-content/plugins/google-site-kit/includes/Core/Util/Debug_Data.php on line 414

    Have uninstalled Site Kit and installed the plugin again but gets the same result. Site Kit version is 1.92.0

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi @rolandj57 thanks for opening this issue. If using PHP 8.1 depreciation notices are not uncommon, with this version still in Beta support for the latest WordPress releases. Such notices are not specific to Site Kit, with more details on WordPress support for PHP versions below:
    https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

    Note also that we’re aware of this and such errors can be disregarded, with warnings expected until PHP 8.1 is fully supported in WordPress. They also don’t impact Site Kit set up or functionality. If you find otherwise please let us know.

    Is there anything else I can help with?

    Thread Starter rolandj57

    (@rolandj57)

    Thanks Adam!

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

The topic ‘PHP warnings’ is closed to new replies.