• Resolved kendawes

    (@kendawes)


    If I have my debug log turned on, I get hoards of the following deprecated PHP notices. I’m using PHP 8.2.

    [15-Mar-2024 17:38:05 UTC] PHP Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Row::$dimensionValues is deprecated in /path/wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/AnalyticsData/Row.php on line 32
    [15-Mar-2024 17:38:05 UTC] PHP Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Row::$metricValues is deprecated in /path/wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/AnalyticsData/Row.php on line 46

    If I leave my debug log on, it quickly gets to well over 100K in size and before long over a MB! Please fix!

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

    (@jamesosborne)

    Thanks for reaching out @kendawes. The deprecation notices you’re encountering don’t impact any Site Kit functionality, so they can be ignored. Based on the source of the error you provided, this is coming from a Site Kit dependency library, and we are updating these libraries next month, at which stage they should no longer occur.

    You can find more details on where we reported this over on the Google Client Library GitHub repository, where they confirmed this has since been addressed.

    For the time being, until we update dependencies, you can disable error reporting if you wish.

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

Viewing 1 replies (of 1 total)

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