For some reason it generates this error when visiting another profile while the person is offline.
http://i.imgur.com/xO5tlZI.png
This is the member.php file code:
Code from line 1894 - 1965
http://i.imgur.com/xO5tlZI.png
This is the member.php file code:
default:
$emailmessage = $lang->sprintf($lang->email_activateaccount, $user['username'], $mybb->settings['bbname'], $mybb->settings['bburl'], $user['uid'], $activationcode);
break;
}
my_mail($email, $emailsubject, $emailmessage);
}
}
$plugins->run_hooks("member_do_resendactivation_end");
redirect("index.php", $lang->redirect_activationresent);
}
}
if($mybb->input['action'] == "lostpw")
{
$plugins->run_hooks("member_lostpw");
eval("\$lostpw = \"".$templates->get("member_lostpw")."\";");
output_page($lostpw);
}
if($mybb->input['action'] == "do_lostpw" && $mybb->request_method == "post")
{
$plugins->run_hooks("member_do_lostpw_start");
$email = $db->escape_string($email);
$query = $db->simple_select("users", "*", "email='".$db->escape_string($mybb->input['email'])."'");
$numusers = $db->num_rows($query);
if($numusers < 1)
{
error($lang->error_invalidemail);
}
else
{
while($user = $db->fetch_array($query))
{
Code from line 1894 - 1965