I did not see any output on line 194 so I'm not sure if I'm seeing the page correctly but I did see a potential problem near line 300. The code that starts on line 296 looks like it has some line breaks in it. You should remove these so that the cod just after line 295 looks like this:
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]);
}
If you continue to experience problems with this you should try removing this code to see if the problem is relating to what you are doing here.