googleapis / google-api-php-client

A PHP client library for accessing Google APIs
Apache License 2.0
9.2k stars 3.52k forks source link

On PHP 8.3 Calling get_class() without arguments is deprecated in src/Http/REST.php:58 #2548

Closed joshua-bn closed 5 months ago

joshua-bn commented 6 months ago

Fatal error: Uncaught ErrorException: Calling get_class() without arguments is deprecated in google/apiclient/src/Http/REST.php:58

Environment details

Steps to reproduce

  1. call Google\Service\ShoppingContent\Resource\Products::custombatch()

Simple fix is to just do get_class($this)

yash30201 commented 5 months ago

Hi @joshua-bn , The fix for this issue has been rolled out as a part of v2.15.2. Please upgrade your package.