Update vendor for PHP 7.2

Permalink Browser Info Environment
Okaaaay.

It was indeed PHP 7.2 compatibility issue of AWS SDK.

- Open /concrete/src/File/Importer.php
- Add \Log::debug($e->getMessage()); to import process around line 303 in import()

} catch (Exception $e) {
            \Log::debug($e->getMessage());
            if (!$prefixIsAutoGenerated) {
                return self::E_FILE_UNABLE_TO_STORE_PREFIX_PROVIDED;
            } else {
                return self::E_FILE_UNABLE_TO_STORE;
            }
        } finally {


- We've got the following error

Error executing "ListObjects" on "s3-ap-northeast-1.amazonaws.com/XXXXXXXXXXXXX?prefix=XXXX%2FXXXX%2FXXXX%2F AWS HTTP error: count(): Parameter must be an array or an object that implements Countable


Amazon SDK seems to be old.

We ran the composer update, then boom!
I was able to upload the files no problem.

Please update the vendor file for PHP7.2 support.

Type: Ticket
Status: Archived
katz515
View Replies:
katz515 replied on at Permalink Reply
katz515
Mnkras replied on at Permalink Reply
Mnkras
Updated the SDK and some other dependencies, should be good in 3.0.3
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# concrete5 Packages
S3 Storage (3.0.2)

# concrete5 Overrides
src/Concrete/Session/SessionFactory.php, src/Concrete/Session, src/Concrete/Cache/Page/MemcachedPageCache.php, src/Concrete/Cache/Page, src/Concrete/Cache, src/Concrete

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.12.1

# Server API
fpm-fcgi

# PHP Version
7.2.8

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 32M
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 0
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.