preg match error

Permalink
preg_match(): Compilation failed: invalid range in character class at offset 4

error received trying to add a text block to my page. Anyone know what this means?

tallacman
 
tallacman replied on at Permalink Reply
tallacman
# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4

# concrete5 Packages
...

# concrete5 Overrides
None

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

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.3.14-1+bionic

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, intl, json, ldap, libxml, litespeed, mbstring, memcached, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, recode, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xml, xmlreader, xmlrpc, 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 - 2M
ldap.max_links - Unlimited
mbstring.regex_stack_limit - 100000
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 150
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
JohntheFish replied on at Permalink Reply
JohntheFish
I had to hack an 8.4 site to enable it to upgrade. Its only one vendor library you need to replace, with the version from a newer core release (I can't remember exactly which, but it should be in the whoops report if you enable debug to page). That will enable an 8.4 site to run under php7.3 well enough to run the upgrade to c8.5.2
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Can you roll back your php version from 7.3 to 7.1 and see if that fixes it?
According to this document php 7.2 is the max version for concrete 8.4 ...
https://documentation.concrete5.org/developers/installation/system-r...
tallacman replied on at Permalink Reply
tallacman
thanks gentlemen, thats the ticket!
oaknshield replied on at Permalink Reply
oaknshield
thanks this fixed my crashed site as well
i had concrete 8.4.3 and the hosting upgraded to PHP7.4
i went back to PHP 7.2 and my site came back up