PHP Notice 'yii\base\ErrorException' with message 'unserialize(): Error at offset 8189 of 8192 bytes'
in C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2-debug\controllers\DefaultController.php:132
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(8, 'unserialize(): ...', 'C:\\xampp\\htdocs...', 132, Array)
#1 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2-debug\controllers\DefaultController.php(132): unserialize('a:58:{s:13:"55a...')
#2 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2-debug\controllers\DefaultController.php(147): yii\debug\controllers\DefaultController->getManifest(false)
#3 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2-debug\controllers\DefaultController.php(92): yii\debug\controllers\DefaultController->loadData('55a8abf042085', 5)
#4 [internal function]: yii\debug\controllers\DefaultController->actionToolbar('55a8abf042085')
#5 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2\base\InlineAction.php(55): call_user_func_array(Array, Array)
#6 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2\base\Controller.php(151): yii\base\InlineAction->runWithParams(Array)
#7 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2\base\Module.php(455): yii\base\Controller->runAction('toolbar', Array)
#8 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2\web\Application.php(84): yii\base\Module->runAction('debug/default/t...', Array)
#9 C:\xampp\htdocs\final\advanced\vendor\yiisoft\yii2\base\Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request))
#10 C:\xampp\htdocs\final\advanced\backend\web\index.php(18): yii\base\Application->run()
#11 {main}
运行Yii2应用程序时出现此错误有什么问题?
答案 0 :(得分:9)
在请求数据的缓存版本中看起来像是一个问题。您可以尝试清除String
下的文件夹。