Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: thmtht1612 on October 24, 2018, 11:24:39 PM

Title: Replace preg_replace with preg_replace_callback.
Post by: thmtht1612 on October 24, 2018, 11:24:39 PM
In php 5.5 preg_replace is deprecated. This leads to error messages being posted on the site and in the logs.

I am not too good with php, so I am wondering if someone can create an update. It seems to be the Sources/Load.php file that contains several preg_replace functions.
Title: Re: Replace preg_replace with preg_replace_callback.
Post by: Sir Osis of Liver on October 24, 2018, 11:30:02 PM
https://www.simplemachines.org/community/index.php?topic=534915.0

You should upgrade to current version, 1.1.x went eol some time ago and is no longer supported.  Other option is to downgrade php to 5.4 (also eol and unsupported).