Closed demo-igor closed 4 months ago
@yash30201, @vishwarajanand, @bshaffer any ideas why we see this error?
Hi @demo-igor, can you please paste the output of your composer show
?
On a side note, I think you may be experiencing https://github.com/googleapis/google-cloud-php/issues/6122.
@yash30201 our composer json is pretty simple:
{
"require": {
"google/cloud": "~0.227",
"php": "^7.4"
},
"require-dev": {
"wp-cli/wp-cli": "~2.9.0"
}
}
Do you suggest to add here library with some specific version?
Can you confirm if you're using Storage version >= https://github.com/googleapis/google-cloud-php-storage/releases/tag/v1.31.1?
Do you suggest to add here library with some specific version?
Alternatively, your can try adding "google/cloud-storage": "^1.31.1"
to your composer for enforcing the minimum Storage version.
@yash30201 our composer json is pretty simple:
{ "require": { "google/cloud": "~0.227", "php": "^7.4" }, "require-dev": { "wp-cli/wp-cli": "~2.9.0" } }
Do you suggest to add here library with some specific version?
The fix for this issue was released with google/cloud v0.203.1.
@yash30201 our composer.lock looks like this:
It seems we already using needed version, but problem still actual for us
@demo-igor Thanks for providing more info on the packages.
However, I'm not able to reproduce this error. Please provide a reproduction script.
I tried a simple bucket list api call as follows:
@yash30201 big thanks for help! I found that problem comes from the plugin https://wordpress.org/plugins/gcs/. So it is not an issue in the library.
We are using Wordpress + SiteHealth plugin and got an error in one of SiteHealth checks
The main question is it possible to resolve it this issue?