Oops, I was a bit thought less. The error is:
Notice: Undefined variable: emailsubject in /home/humanive/public_html/registration/index.php on line 1872
Warning: Cannot modify header information - headers already sent by (output started at /home/.../limesurvey/index.php:1872) in /home/.../limesurvey/common.php on line 5098
Line 1872 in index.php is the line with:
$emailsubject = Replacefields($emailsubject , $attrreplacearray);
Line 5098 in common.php is the last line of these:
// Delete the Session Cookie
$CookieInfo = session_get_cookie_params();
if ( (empty($CookieInfo['domain'])) && (empty($CookieInfo['secure'])) ) {
setcookie(session_name(), '', time()-3600, $CookieInfo['path']);