diff --git a/www/errorreport.php b/www/errorreport.php
index 50c33e741ce97beadc835e6ec3ac43e68feafdab..633da1bbe2fee4cd77df4230f03a2be095b4e6e7 100644
--- a/www/errorreport.php
+++ b/www/errorreport.php
@@ -8,7 +8,7 @@ $config = \SimpleSAML\Configuration::getInstance();
 if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
     // the message has been sent. Show error report page
 
-    $t = new \SimpleSAML\XHTML\Template($config, 'errorreport.twig', 'errors');
+    $t = new \SimpleSAML\XHTML\Template($config, 'errorreport.twig');
     $t->send();
     exit;
 }