I just updated to yii2/debug v2.0.8 on my test server. The debug panel is no longer showing up.
It was working fine before the update.
I am getting the following message in logs/app.log
2017-02-19 21:32:54 [10.7.17.3][5][-][warning][yii\log\Dispatcher::dispatch] Unable to send log via yii\debug\LogTarget: Exception 'Exception' with message 'Serialization of 'Closure' is not allowed'
in /home/nginx/domains/www.example.com/public/basic/vendor/yiisoft/yii2-debug/LogTarget.php:57
Stack trace:
#0 /home/nginx/domains/www.example.com/public/basic/vendor/yiisoft/yii2-debug/LogTarget.php(57): serialize(Array)
#1 /home/nginx/domains/www.example.com/public/basic/vendor/yiisoft/yii2-debug/LogTarget.php(118): yii\debug\LogTarget->export()
#2 /home/nginx/domains/www.example.com/public/basic/vendor/yiisoft/yii2/log/Dispatcher.php(188): yii\debug\LogTarget->collect(Array, true)
#3 /home/nginx/domains/www.example.com/public/basic/vendor/yiisoft/yii2/log/Logger.php(177): yii\log\Dispatcher->dispatch(Array, true)
#4 [internal function]: yii\log\Logger->flush(true)
#5 {main}
2017-02-19 21:32:54 [10.7.17.3][5][-][info][application] $_COOKIE = [
'_csrf' => 'f07dfeb61ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rKWxcwuGoKTdjuw6sZKbY_02sxCYFu80\";}'
'PHPSESSID' => 'u8h562ec22'
'_identity' => 'bb41ef2c61a:2:{i:0;s:9:\"_identity\";i:1;s:46:\"[5,\"BjAVpNis--xLy1SG\",2592000]\";}'
]
$_SESSION = [
'__flash' => []
'__id' => 5
]
$_SERVER = [
'USER' => 'nginx'
'HOME' => '/home/nginx'
'FCGI_ROLE' => 'RESPONDER'
'QUERY_STRING' => ''
'REQUEST_METHOD' => 'GET'
'CONTENT_TYPE' => ''
'CONTENT_LENGTH' => ''
'SCRIPT_NAME' => '/index.php'
'REQUEST_URI' => '/programs2'
'DOCUMENT_URI' => '/index.php'
'DOCUMENT_ROOT' => '/home/nginx/domains/www.example.com/public/basic/web'
'SERVER_PROTOCOL' => 'HTTP/2.0'
'REQUEST_SCHEME' => 'https'
'HTTPS' => 'on'
'GATEWAY_INTERFACE' => 'CGI/1.1'
'SERVER_SOFTWARE' => 'nginx/1.11.7'
'REMOTE_ADDR' => '10.7.17.3'
'REMOTE_PORT' => '65463'
'SERVER_ADDR' => '10.7.17.16'
'SERVER_PORT' => '443'
'SERVER_NAME' => 'www.example.com'
'REDIRECT_STATUS' => '200'
'SCRIPT_FILENAME' => '/home/nginx/domains/www.example.com/public/basic/web/index.php'
-John
P.S. How do I submit a feature request? a NEXT and PREV button to show the next or prev log entry would be nice…