Error

PHP Noticeyii\base\ErrorException

Undefined index: constraint_name

$_GET = [
    'id' => 'staff',
    'page' => '3',
    'per-page' => '10',
];

$_SESSION = [
    '__flash' => [],
];