• Resolved FahimMurshed

    (@fahimmurshed)


    Please fix the errors. I’ve got deprecated errors in the dashboard. I am using PHP 8.3 version.

    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService::$serviceName is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/PeopleService.php on line 79
    
    Deprecated: Calling get_class() without arguments is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Http/REST.php on line 49
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\Person::$names is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 104
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\FieldMetadata::$source is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\Name::$metadata is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\Person::$photos is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 104
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\FieldMetadata::$source is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\Photo::$metadata is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\Person::$emailAddresses is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 104
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\FieldMetadata::$source is deprecated in /wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115
    
    Deprecated: Creation of dynamic property Google\Site_Kit_Dependencies\Google\Service\PeopleService\EmailAddress::$metadata is deprecated in /public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 115

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

    (@jamesosborne)

    Thanks for reaching out @fahimmurshed. The deprecation notices you’re encountering don’t impact any Site Kit functionality and are related to some of the dependency libraries used by Site Kit, as opposed to coming from the plugin itself. They can be disregarded for the time being, as we are updating these libraries shortly, 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.

    You may wish to disable error reporting if you wish, if you’re finding many such errors deprecation notices.

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

    Thread Starter FahimMurshed

    (@fahimmurshed)

    After reloading the dashboard, it’s gone! Don’t know what happened!

    Plugin Support James Osborne

    (@jamesosborne)

    Glad to hear it @fahimmurshed. As you’re using the latest version of PHP it’s possible you may encounter further PHP deprecation notices, however, we will be updating all third party dependency versions within Site Kit soon. Can you disable the display of errors should any of these appear on the front end of your site in the meantime. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix the deprecated errors’ is closed to new replies.