PHP Warning: preg_replace_callback(): Requires argument 2, '', to be a valid callback in /home/dddddd/public_html/vbforum/includes/functions_newpost.php on line 203
PHP Version 5.4.42
Upgraded PHP and have seen some errors in logs - errors persist when I disable hooks
file is clean
urls are no longer parsed which is what the lines near 203 in that file appear to do
"return preg_replace_callback(
'#(^|\[/(' . $skiptaglist . ')\])(.*(\[(' . $skiptaglist . ')\]|$))#siU',
function ($matches)
{
return convert_url_to_bbcode_callback($matches[3], $matches[1]);
},
$messagetext
);"
All suggestions welcomed
PHP Version 5.4.42
Upgraded PHP and have seen some errors in logs - errors persist when I disable hooks
file is clean
urls are no longer parsed which is what the lines near 203 in that file appear to do
"return preg_replace_callback(
'#(^|\[/(' . $skiptaglist . ')\])(.*(\[(' . $skiptaglist . ')\]|$))#siU',
function ($matches)
{
return convert_url_to_bbcode_callback($matches[3], $matches[1]);
},
$messagetext
);"
All suggestions welcomed
Comment