S3 Storage - 3.1.1 - File storage using Amazon S3

Im using S3 Storage v.3.1.1 and after updating to Concrete 9.2.2 i get this error when uploading file using filemanager.

Exception Occurred: /mysite/packages/s3_storage/vendor/aws/aws-sdk-php/src/S3/ObjectUploader.php:67 Declaration of Aws\S3\ObjectUploader::promise() must be compatible with GuzzleHttp\Promise\PromisorInterface::promise(): GuzzleHttp\Promise\PromiseInterface (64)

This is my enviroment :

Concrete Version

Core Version - 9.2.2
Version Installed - 9.2.2
Database Version - 20231002142400

Database Information

Version: 10.6.12-MariaDB

PHP Version


PHP Extensions

bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib.

Any idea how to fix it?


I get this working by updating aws-sdk-php to the newst version in S3 Storage v.3.1.1 package.

Please notify the developer so they can update the package for everyone else.

:+1: Yes I will do it.

@siavash Thank you for the report.

We’ve just released the new version of Storage for S3 add-on to fix the bug.

1 Like