• Resolved Umbrovskis.com

    (@rolandinsh)


    There are several deprecated functions (when WP DEBUG is on):

    Deprecated: Creation of dynamic property Google\Site_Kit\Core\Authentication\Setup::$proxy_support_link_url is deprecated in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php on line 94

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7053

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2165 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94) in /var/www/html/wp-admin/includes/misc.php on line 1431 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94) in /var/www/html/wp-includes/functions.php on line 6896 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94) in /var/www/html/wp-admin/admin-header.php on line 9

    Site info:
    PHP 8.2
    WordPress: 6.2.2
    Site Kit by Google: 1.102.0.
    Docker (latest) on Ubuntu 22.04

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

    (@jamesosborne)

    Thanks for reaching out @rolandinsh. We do perform regulars PHP 8* testing and we have a fix in place for some of the errors you highlighted this week with version 1.103.0. See below for details on this:
    https://github.com/google/site-kit-wp/issues/7147

    Based on your useful insights I’ll also perform some additional testing this week to try and replicate errors or warnings when creating a property. Note also that the deprecation notices you’re encountering shouldn’t have any impact on Site Kit functionality. If you find otherwise let me know and I’ll discuss this with the team.

    Let me know if you have any questions with the above.

    Plugin Support James Osborne

    (@jamesosborne)

    Just to let you know that I’ve created the following GitHub issue based on your findings and being able to reproduce the same error:
    https://github.com/google/site-kit-wp/issues/7182

    The team will review this and provide updates within that issue. In the meantime can you confirm that these errors don’t result in loss of Site Kit functionality?

    Plugin Support James Osborne

    (@jamesosborne)

    Just to let you know that there is a?fix out?for these deprecation notices you reported. Thanks again for highlighting this. If you run into any further issues, be sure to reach out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated functions (PHP 8.2, WP 6.2.2)’ is closed to new replies.