Re: [PEAR-BUG] Bug #20956 [NEW]: preg_replace(): The /e modifier is deprecated

[email protected] (Gregory Currie) Thu, 1 Oct 2015 11:14:24 +1000
Newsgroups php.pear.qa
Message-ID <CAGhFfh_-XXACuDzVwucE4=mPu6XqLN-_ibQ-wzSGXQ6dXuyHpQ@mail.gmail.com>
--089e0111afb88539aa052100c4fb
Content-Type: text/plain; charset=UTF-8

Hello Roxanne,

I want to get your website back on it's feet as soon as possible.

Yes, there is a flaw in PEAR that needs to be fixed, however, you should
not see warnings in production websites.

You can resolve this with your provider, or you can call the following
function to modify the error/warning reporting beahviour:

http://php.net/manual/en/function.error-reporting.php

There may be some configuration file that you can also edit to fix this.

On Thu, Oct 1, 2015 at 10:28 AM, roxanne at moretoit dot net <
[email protected]> wrote:

> From:             roxswan
> Operating system: linux
> Package version:  1.3.0
> PHP version:      5.5.29
> Package:          HTML_Template_IT
> Bug Type:         Bug
> Bug description:  preg_replace(): The /e modifier is deprecated
>
> Description:
> ------------
> I have an app that has been running just fine for a few years and this week
> it throws the following error on the home/login page:
>
> /home/howtoit0/PEAR/HTML/Template/IT.php (2189)
> preg_replace(): The /e modifier is deprecated, use preg_replace_callback
> instead
>
> My hosting provider did just upgrade MySQL from the version tree 5.5 to
> version 5.6 as well as the Apache to 2.4 Version and the PHP releases to
> 5.5
>
> I have run all PEAR updates but the problem persists.
>
> Test script:
> ---------------
> You can see this error in action at http://moretoit.net/practicemonitor/
>
>
> Expected result:
> ----------------
> The page should show a login box on the left side panel and text in the
> main panel.
>
> Actual result:
> --------------
> At the moment, the login box does not display and the error message listed
> in the previous description displays instead of the usual text.
> --
> Edit bug report at http://pear.php.net/bugs/bug.php?id=20956&edit=1
> --
>
>

--089e0111afb88539aa052100c4fb--