Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
joshua-bn opened this issue Jan 5, 2024 · 1 comment
Assignees

Comments

@joshua-bn
Copy link

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

Environment details

  • OS: Ubuntu
  • PHP version: 8.3
  • Package name and version: google/apiclient

Steps to reproduce

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

Simple fix is to just do get_class($this)

@yash30201 yash30201 self-assigned this Jan 17, 2024
@yash30201
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants