15
如何修复已被错误的字节数长度损坏的序列化字符串?
我正在将Hotaru CMS与Image Upload插件一起使用,如果尝试将图像附加到帖子上,则会收到此错误,否则没有错误: unserialize()[function.unserialize]:偏移量错误 令人反感的代码(错误指向**): /** * Retrieve submission step data * * @param $key - empty when setting * @return bool */ public function loadSubmitData($h, $key = '') { // delete everything in this table older than 30 minutes: $this->deleteTempData($h->db); if (!$key) { return false; } $cleanKey = preg_replace('/[^a-z0-9]+/','',$key); …