Compatibility with PHP7.2

Permalink Browser Info Environment
Not too sure what to make of this problem... only noticed it today. I was running with PHP7.2 and no apparent problem. Then today I checked in on the web site and the following message appeared instead of the Whale Grid contents :

count(): Parameter must be an array or an object that implements Countable

So I went and shut off the caches and flushed my browser's cache and tried again. Same error popped up.

So I did a Google search on that specific error message and I found on the Concrete5 site where this error has been attributed or speculated to being attributable to third party add ons that are not compatible with PHP7.2...

So I went back to my hosting package and rolled back the PHP version for this web site PHP7.2 to PHP7.1 and the same error popped up....

SoI flushed my browsers cache and I rolled back the PHP7.1 to PHP7.0... and magically everything started working properly again.

So the question is : Is there a compatibility problem with the Whale Grid 2.4.5 and PHP7.2 or is there something else I should be tinkering with to get things functioning properly again ?

Thanks in advance


Type: Pre-Sale
Status: New
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
HTML+PHP Code Block (1.0.1), Responsive Theme (2.1.9), Whale Grid Gallery (2.4.5)

# concrete5 Overrides

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, soap, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 150000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 768M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 10M
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
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

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.