-
Notifications
You must be signed in to change notification settings - Fork 245
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
aws-sdk-php (3.281.13) generates error #235
Comments
Hi there, @closca, could you please let us know what service client you are trying to initialize when this error is thrown? If possible, please the code for your client constructor with any personal information redacted and we will investigate |
Just to update, I attempted to reproduce this by initializing one copy of each service client in a laravel application; no issue occurred. This was done on the version that you reported (3.281.13). Given that no one else has reported this issue, it's possible that you experienced a rare glitch that has impacted a few of our customers where composer installed two versions of the SDK and it led to a mismatch in versions. I have a few follow-up questions:
|
In case anyone else runs into this, someone opened a discussion in the upstream repository for this who was running into the same issue. The fix for this has already been merged and will be included in tomorrow's release. This issue was specific to one single version of Cloudfront client, and the last version impacted by this bug will be 3.282.0. |
|
Describe the bug
composer.json has "aws/aws-sdk-php": "~3.0" and on composer install/update will take version 3.281.13
unfortunatly, aws-sdk-php-laravel is not ready for version 3.281.13 as it throws the following error
TypeError Aws\EndpointV2\EndpointProviderV2::__construct(): Argument #1 ($ruleset) must be of type array, null given, called in /vendor/aws/aws-sdk-php/src/ClientResolver.php on line 1049
Expected Behavior
To send correct arguments
Current Behavior
Throws error
Reproduction Steps
Install lates version of aws-sdk-php-laravel
Possible Solution
As emergency, we've locked the version into project root composer.json to "aws/aws-sdk-php": "3.281.12"
Additional Information/Context
No response
SDK version used
3.8.1
Environment details (OS name and version, etc.)
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: