The / e modifier is deprecated

0

I'm having this error while generating a report I made here, it will be if someone can help me.

  

A PHP Error was encountered

     

Severity: 8192

     

Message: preg_replace (): The / e modifier is deprecated, use > preg_replace_callback instead

     

Filename: includes / functions.php

     

Line Number: 74

    
asked by anonymous 07.12.2016 / 13:13

1 answer

1

According to the PHP Manual:

  

PHP 5.5.0 : The e modifier is deprecated. Use preg_replace_callback() instead.   See the PREG_REPLACE_EVAL documentation for additional information about security risks.

Your PHP is probably using some library that was written for earlier versions of PHP 5.5.

Maybe the solution would be to remove the notification from E_DEPRACATED

error_reporting(E_ALL & ~E_DEPRECATED);
    
07.12.2016 / 16:49