Deprecated: preg_replace(): The /e modifier is deprecated

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

Deprecated: preg_replace(): The /e modifier is deprecated

Post by FCazabon »

Hi,

I've been away from CMSMS for a while and am now installing it on a new PC (Windows 8.1).

I downloaded and installed WampServer (wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b).

Then I downloaded CMSMS 1.11.11 and ran through the install of that.

During the install of CMSMS I noticed a message similar to this:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in C:\wamp\www\YWCATT\lib\html_entity_decode_utf8.php on line 38

but it didn't stop the installation so I proceeded.

Now when I am in the Admin of my site I get the above message repeatedly when I go to the following pages:

Content | Pages
Layout | Templates
Layout | Stylesheets
Users & Groups | Groups

(I haven't checked all the pages).

Is this a version conflict?

Apache Version : 2.4.9
PHP Version : 5.5.12

The documentation says: Note: PHP 5.3.2+ Recommended.

Any ideas?
Attachments
Screen shot showing the error on Content | Pages
Screen shot showing the error on Content | Pages
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Deprecated: preg_replace(): The /e modifier is deprecate

Post by Jo Morg »

FCazabon wrote:
Apache Version : 2.4.9
PHP Version : 5.5.12

The documentation says: Note: PHP 5.3.2+ Recommended.

Any ideas?
It runs without any notices nor warnings with PHP 5.4.31, and a quick search on the web got this: http://php.net/manual/en/migration55.deprecated.php
They still work afaik, so you just have to adjust the php.ini settings regarding errors display accordingly (or ignore them).
On production sites these warnings and notes should never be displayed anyway.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Locked

Return to “[locked] Installation, Setup and Upgrade”