top-think / think

ThinkPHP Framework ——十年匠心的高性能PHP框架
http://www.thinkphp.cn
Other
7.83k stars 1.62k forks source link

E_WARNING: xcache_set() expects parameter 3 to be long, array given in /thinkphp/library/think/cache/driver/Xcache.php on line 73 #50

Closed liuzhaowei55 closed 8 years ago

liuzhaowei55 commented 8 years ago

Model里调用cache()方法出错. 猜测是public function set($name, $value, $expire = null){}中的$expire应该为过期时间但是传了整个$options['cache']的配置参数过来.

liu21st commented 8 years ago

嗯 已经修正~