Error with PHP Verison 7.2

Permalink Browser Info Environment
Hi There,

I'm trying to run my site on PHP 7.2. The site seems to run fine until you want to edit a page.

When trying to go into edit mode it throws the below error:
Use of undefined constant CACHE_LIFETIME - assumed 'CACHE_LIFETIME' (this will throw an Error in a future version of PHP)


Any suggestions?

Regards.

1 Attachment

Type: Pre-Sale
Status: Resolved
Halftail
View Replies:
C5ThemeTeam replied on at Permalink Reply
C5ThemeTeam
Will need to look into this. Haven't seen it before.
C5ThemeTeam replied on at Permalink Reply
C5ThemeTeam
Hi

I did a clean installation of concrete5 8.4.4 on a server running PHP 7.2.1 and installed Peak as the only add-on. I couldn't replicate your error so began installing the plugins listed in your environment info one by one.

Zoomer gave me errors. Can you try uninstall that plugin and see can you make edits?

Thanks
Steve
Halftail replied on at Permalink Reply
Halftail
Hi Steve,

Uninstalled Zoomer, though its still giving the same error..

Could Thumb Gallery & Vivid Carousel still be causing issues as they are from the same developer?

Regards.
C5ThemeTeam replied on at Permalink Reply
C5ThemeTeam
They could be. It'd more to do with the age of the plug-in rather than the developer.

Make sure to back up your DB before you uninstall anything, in case you need to roll back.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4
Database Version - 20180717000000

# concrete5 Packages
Deluxe Customizable Twitter Feed (1.0.3), Peak (2.7), Thumb Gallery (1.0.3), Twitter Feed Block Components (1.0.1), Vivid Carousel (1.0.1), Zoomer (1.0.1)

# concrete5 Overrides
None

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

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.2.14

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, 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 - 256M
post_max_size - 256M
upload_max_filesize - 256M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 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.