• Resolved Andyjay2012

    (@andyjay2012)


    When using php8.2 a warning is generated:

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

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

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

    (@jamesosborne)

    Thanks for reaching out @andyjay2012. We’re aware of this PHP warning and we’ll have a fix out for this soon. You can subscribe to the below for updates:
    https://github.com/google/site-kit-wp/issues/7202

    Note also that this shouldn’t impact any Site Kit functionality and this will only appear in your error logs (or if you have error reporting set to display). If this isn’t the case with you and you’re encountering any Site Kit feature not working as intended let me know and we can investigate this further with your environment.

    Hi @jamesosborne, i just migrated a website, and now i get this error:

    Deprecated: Creation of dynamic property Google\Site_Kit\Core\Authentication\Setup::$proxy_support_link_url is deprecated in /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php on line 94

    Warning: Cannot modify header information – headers already sent by (output started at /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94)

    in /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-admin/includes/misc.php on line 1431 Warning: Cannot modify header information – headers already sent by (output started at /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94)

     in /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-includes/functions.php on line 6935 Warning: Cannot modify header information – headers already sent by (output started at /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php:94)

    in /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-admin/admin-header.php on line 9 Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /customers/a/d/2/aroundtheworldcoffee.nl/httpd.www/wp-includes/formatting.php on line 4477

    Any idea how to fix it?

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for sharing @yoni1. As mentioned above we’ll have a fix out for this soon, with details added to the related GitHub issue.

    In relation to the “Warning: Cannot modify header information – headers already sent” error this is only a PHP warning and also shouldn’t impact any Site Kit functionality. This should also be specific to newer versions of PHP 8, and may even be triggered from WordPress core given these latest versions have Beta support for PHP8. If you find any loss of functionality or any unusual behavior when using Site Kit feel free to open an individual support topic and we can investigate this further.

    Plugin Support James Osborne

    (@jamesosborne)

    Just to let you know that there is a?fix out?for the deprecation notice you previously reported?@andyjay2012. Thanks again for raising this. If you run into any further issues, be sure to reach out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php8.2 Deprecated: Creation of dynamic property Google’ is closed to new replies.