First off it is not mine forum, I don't know what the forum owner has done with all files etc.

I asked for help to remove the error message, nothing else. The error message is gone now. And now I can check the config if needed. all PHP error reporting is on and no error is reported. I know there is a empty tag but that one doesn't fill up discspace with error logs.

Solved:
The lines 147-149 (OLD)


// START SUBST - <pun_title>
$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars().'</span></h1>', $tpl_main);
// END SUBST - <pun_title>

I changed to :

// START SUBST - <pun_title>
$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['']).'</span></h1>', $tpl_main);
// END SUBST - <pun_title>

How should I solve this error message?
Server is: Apache 2.0 PHP 5.2 Mysql 5

PHP Warning:  Missing argument 1 for pun_htmlspecialchars(), called in /home/******l/public_html/forum/header.php on line 148 and defined in /home/******/public_html/forum/include/functions.php on line 725