> <div class="panel-body">
> <?php echo $error; ?>
> <form accept-charset="UTF-8" role="form" method="post">
> <fieldset>
> <div class="form-group">
> <input class="form-control" placeholder="Username" name="username" type="text">
> </div>
> <div class="form-group">
> <input class="form-control" placeholder="Password" name="password" type="password" value="">
> </div>
> <input class="btn btn-lg btn-success btn-block" type="submit" value="Login">
> </fieldset>
> </form>
> </div>
返回错误未定义的属性classone :: $ test
并在null上调用object-> callback()
我试图将对象更改为变量,但仍然出现此错误。