diff --git a/www/_include.php b/www/_include.php
index 78451ee31db218f69dae7f1d2a514d63eb5c0084..d3e6852ba38e78b29749334d6535196011857ef1 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -53,7 +53,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = null, $errline = 0
     }
 
     // show an error with a full backtrace
-    $context = (is_null($errfile)?'':" at $errfile:$errline") . (is_null($errcontext)?'':" $errcontext");
+    $context = (is_null($errfile)?'':" at $errfile:$errline");
     $e = new \SimpleSAML\Error\Exception('Error '.$errno.' - '.$errstr . $context);
     $e->logError();