Hello
I have an Error upgrade from 2.012 to 2.013 :
https://www.xxx.fr/forum/index.php?action=post2;start=0;board=27 (https://www.xxx.fr/forum/index.php?action=post2;start=0;board=27)
preg_replace_callback(): Requires argument 2, 'nobbc__preg_callback', to be a valid callback
/home/clients/61a73bffeee3223b/web/forum/Sources/Subs-Post.php
Ligne: 166
Here is my actual code before upgrade en sub-post.php in ligne 166
// Clean up after nobbc.
$message = preg_replace_callback('~\[nobbc\](.+?)\[/nobbc\]~i', create_function('$m', ' return "" . strtr("$m[1]", array("[" => "[", "]" => "]", ":" => ":", "@" => "@")) . "";'), $message);
// Remove empty bbc
$message = preg_replace('~\[([^\]=\s]+)[^\]]*\](?' . '>\s|(?R))*?\[/\1\]\s?~i', '', $message);