I keep getting this message and I am not a developer. Would anybody help me what I should do with this one?
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/healthy/public_html/smartbizsols.net/include/Smarty/Smarty_Compiler.class.php on line 268
In a layman’s language, it says to replace the line 268 in file smarty_Compiler_.class.php with preg_replace_callback. Is that what it is? I tried that already and it is not helpin.
It’s a warning for developers mostly … not fatal … you need to reduce your warning level in php.ini and it will disappear … search the forum and you will find lots od advice
Thank you for the response.
I checked the ‘php.ini’ following your suggestion and I found out it is actually ‘off’
I noticed it is not fatal, as you said but the message is appearing every time I enter an input. So annoying.
I have attached the message screen shot.
Thanks
If it is still appearing after the above is set, and you have restarted your web server then it’s likely that the php.ini file you’re changing is not the correct one.
In ubuntu and apache this will be in /etc/php5/apache2/php.ini.