Resulta que instalo el MOD Welcom PM (WPM) y me doy que al registrarse un usuario cuando intenta identificarse le da este error:
En el archivo /includes/functions_privmsgs.php linea 1619 tengo esto:[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_privmsgs.php on line 1619: Missing argument 6 for pm_notification(), called in [ROOT]/includes/functions_wpm.php on line 230 and defined
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 2620: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Código: Seleccionar todo
* PM Notification
*/
function pm_notification($mode, $author, $recipients, $subject, $message, $msg_id)
{
global $db, $user, $config, $phpbb_root_path, $phpEx, $auth;
$subject = censor_text($subject);
unset($recipients[ANONYMOUS], $recipients[$user->data['user_id']]);
if (!sizeof($recipients))
{
return;
}
Código: Seleccionar todo
pm_notification('post', $this->send_user_data['username'], $recipients, $subject, $pm_data['message']);
}