diff --git a/system/Validation/Validation.php b/system/Validation/Validation.php index de674017d83f..921f107a1cbc 100644 --- a/system/Validation/Validation.php +++ b/system/Validation/Validation.php @@ -631,7 +631,7 @@ public function getErrors(): array // Start up the session if it's not already if ( ! isset($_SESSION)) { - session()->start(); + session(); } if ($errors = session('_ci_validation_errors'))