🌍
English
Hi,
comment blacklist uses a deprecated function "create_function" on line 67 of the main.inc.php file:
$blacklist = array_map(create_function('$w', 'return preg_quote($w);'), $blacklist);
I tried to figure out how to replace it with "function" but with no success.
Any ideas how to fix line67?
I want to get rid of the php warning regarding the deprecated function.
Thanks
Ralf
Offline
search forum for "deprecated warning"
Offline
Hi,
thanks - disabling the warnings in locale files editor:
$conf['show_php_errors'] = E_ALL & ~E_DEPRECATED;
did the trick.
Ralf
Offline