"message": "Trying to get property 'kh_name' of non-object" code example
Example: Notice: Trying to get property 'NAME' of non-object in
$user = $req->fetch(PDO::FETCH_OBJ);
if ($user && password_verify($_POST['password'], $user->password)) {
$user = $req->fetch(PDO::FETCH_OBJ);
if ($user && password_verify($_POST['password'], $user->password)) {