Skip to content

Undefined variable: errors SYSTEMPATH/Validation/Validation.php at line 651 #2331

Description

@SunilEver

Describe the bug
While using

$validator = \CodeIgniter\Config\Services::validation();
$validator->getErrors()

Following error thrown
Undefined variable: errors SYSTEMPATH/Validation/Validation.php at line 651

CodeIgniter 4 version
v4.0.0-rc.2.1

Affected module(s)
SYSTEMPATH/Validation/Validation.php at line 651

Expected behavior, and steps to reproduce if appropriate
Errors from the session should be retrievd

Context

  • OS: Ubuntu 16
  • Web server Apache/2.4.18
  • PHP version 7.3.9-1+ubuntu16.04.1+deb.sury.org+1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions