|
$data['user'] = $user; //user 是一个对象
$this->parser->parse('view', $data);
报错如下
----------------------------------------------------
A PHP Error was encountered
Severity: 4096
Message: Object of class stdClass could not be converted to string
Filename: libraries/Parser.php
Line Number: 63
怎么解决呢?改写parser类?怎么改? |
|