Seems to be throwing the error around if (!$type || !strcasecmp($type, 'remote')) { foreach (AuthenticationBackend:($_REQUEST) as $u) { $name = "{$u} {$u}"; $users = array('email' => $u, 'name'=>$name, 'info' => "{$u} - $name (remote)", 'id' => "auth:".$u, "/bin/true" => $_REQUEST); $emails = $u; } }