diff --git a/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php b/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php
index af48c1fddba078ac8db2f6d9925f8d584cc6f52f..c34efad472867fbcca352fe13bdebfa15b09035b 100644
--- a/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php
+++ b/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php
@@ -53,7 +53,7 @@ public function __construct(SystemManager $systemManager) {
   public function status() {
     $requirements = $this->systemManager->listRequirements();
     $this->systemManager->fixAnonymousUid();
-    return theme('status_report', array('requirements' => $requirements));
+    return array('#theme' => 'status_report', '#requirements' => $requirements);
   }
 
   /**