There was an error while loading. Please reload this page.
1 parent 6a1a72a commit ce7431fCopy full SHA for ce7431f
libraries/src/Exception/ExceptionHandler.php
@@ -94,6 +94,11 @@ public static function render(\Throwable $error)
94
$app->redirect('index.php');
95
}
96
97
+ // Clear all opened Output buffers to prevent misrendering
98
+ for ($i = 0, $l = ob_get_level(); $i < $l; $i++) {
99
+ ob_end_clean();
100
+ }
101
+
102
/*
103
* Try and determine the format to render the error page in
104
*
0 commit comments