#0 [0]TypeError in Driver.php line 242
Argument 1 passed to think\cache\Driver::unserialize() must be of the type string, boolean given, called in /www/wwwroot/xxxxx.com/vendor/topthink/framework/src/think/cache/driver/File.php on line 139
return $serialize($data);
}
/**
* 反序列化数据
* @access protected
* @param string $data 缓存数据
* @return mixed
*/
protected function unserialize(string $data)
{
if (is_numeric($data)) {
return $data;
}
$unserialize = $this->options['serialize'][1] ?? "unserialize";
return $unserialize($data);
}
意思是参数的类型使用错误 unserialize反序列化参数是字符串
具体原因不知道,莫名其妙的玩意
重新覆盖程序和数据库就莫名奇妙的好了
真的搞不懂,看不懂thinkphp报的错误,只报错不给出具体原因的解决方案
百度也没有答案
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。