- π«π·France kumkum29
Hi cmlara,
I also get this error on my site since I switched to the php8.1 version. Before and with php 7.4 version I haven't any problem.
Now I can no longer upload images to my S3 space... :(
Here is my config :
- drupal core 9.5.10
- guzzle 6.5.8
- s3fs module 3.3.0
- php 8.1 (or 8.2)
- aws sdk php 3.240.0How use the s3fs module with php version 8? Should I update a library? module ?
Thanks for your help.
- πΊπΈUnited States cmlara
@kumkum29
Deprecation just mean that code needs to be adjusted before a version is released in the future, in this case, before PHP 9.0 is released. PHP 9 does not even have a development branch open yet so we can assume this is some time out and is not a major concern.
Deprecation generally do NOT stop code from operating, it is more likely that something has changed in your PHP8.0 config vs your PHP7.4 config causing issues.
That said at the very least I would suggest updating the aws-sdk-php package to 279.0 or newer (at the moment I type this the latest is 3.281.8) as 3.279.0 is when a large portion of fixes were able to go in for PHP 8 deprecation handeling, before that they the aws-sdk-php maintained compatibility with PHP5.3 preventing a large number of changes.