diff --git a/composer.lock b/composer.lock
index 805e2a9085650beb96787e770f3b5d7f5a5d49aa..d2a3c696559c51a298266f0e2646fc9ddafb88da 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1827,16 +1827,16 @@
         },
         {
             "name": "simplesamlphp/simplesamlphp-module-statistics",
-            "version": "v0.9.5",
+            "version": "v0.9.6",
             "source": {
                 "type": "git",
                 "url": "https://github.com/simplesamlphp/simplesamlphp-module-statistics.git",
-                "reference": "d7f68a129baa2dfb6104b91deddfc36b79ae2b54"
+                "reference": "03fb6bdbbf5ce0a0cb257208db79aacac227ac10"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/simplesamlphp/simplesamlphp-module-statistics/zipball/d7f68a129baa2dfb6104b91deddfc36b79ae2b54",
-                "reference": "d7f68a129baa2dfb6104b91deddfc36b79ae2b54",
+                "url": "https://api.github.com/repos/simplesamlphp/simplesamlphp-module-statistics/zipball/03fb6bdbbf5ce0a0cb257208db79aacac227ac10",
+                "reference": "03fb6bdbbf5ce0a0cb257208db79aacac227ac10",
                 "shasum": ""
             },
             "require": {
@@ -1870,7 +1870,7 @@
                 "simplesamlphp",
                 "statistics"
             ],
-            "time": "2021-01-05T15:07:29+00:00"
+            "time": "2021-01-25T15:15:26+00:00"
         },
         {
             "name": "simplesamlphp/twig-configurable-i18n",
diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md
index 191fc1704bdcf7c1d6da594c5a5cf05712c1be28..8a8c14411e9e7692216145e69d57d75cb8565e28 100644
--- a/docs/simplesamlphp-changelog.md
+++ b/docs/simplesamlphp-changelog.md
@@ -13,6 +13,9 @@ Released TBD
 ### negotiate
   * Fix a bug that was breaking the module when using the old UI
 
+### statistics
+  * Fix a bug in the Twig-template that causes an exception on newer Twig-versions
+
 ## Version 1.19.0
 
 Released 2021-01-21