The /e Modifier is deprecated

Asked

Viewed 112 times

0

I’m making that mistake in generating a report I made here, is if anyone can help me.

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

1 answer

1

According to the PHP Handbook:

PHP 5.5.0: The modifier e is obsolete. Use preg_replace_callback() as an alternative. View documentation PREG_REPLACE_EVAL for additional information on security risks.

Probably your PHP is using some library that was written for earlier versions of PHP 5.5.

Perhaps the solution was to remove the notification from E_DEPRACATED

error_reporting(E_ALL & ~E_DEPRECATED);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.