zl程序教程

您现在的位置是:首页 >  其它

当前栏目

unserialize(): Error at offset 0 of 10898 bytes

Error of at bytes offset unserialize
2023-06-13 09:17:08 时间

thinkphp5 unserialize(): Error at offset 0 of 932 bytes

该问题一般是用了git导致的

ThinkPHP5框架

在thinkphp\library\think\cache\driver\Flie.php中,

找到下面一句 大约120行左右

content  =  substr(content, 32) 先修32 为大写的数字

content = substr(content, 32000);

正常显示后可改回原来的值即可。

一般解决完,后续就ok了

未经允许不得转载:肥猫博客 » unserialize(): Error at offset 0 of 10898 bytes