Warning: unserialize() expects parameter 1 to be string, array given in…
源程序的小问题,修改 _get_apps()方法
首先根据所指的警示路径找到你的uc_client/mondel/cache.php文件的第89行
function _get_apps() { $this->base->load('app'); $apps = $_ENV['app']->get_apps(); $apps2 = array(); if(is_array($apps)) { foreach($apps as $v) { //要替换部分 if(!is_array($v['extra'])){ $v['extra'] = unserialize($v['extra']); } $apps2[$v['appid']] = $v; } } return $apps2; }