Cakephp 2.5.4 添加 DebugKit 后出错

Cakephp 2.5.4 Error after adding DebugKit

因为我是按照this Youtube videos.

一步步来的

我很想知道更多关于 cakePhp 的信息。 但不幸的是,在我按照视频中的步骤 04 添加 DebugKit 之后。

我收到以下错误消息:

Notice (8): Trying to get property of non-object [APP\Plugin\DebugKit\Lib\Panel\HistoryPanel.php, line 48]
Notice (8): Trying to get property of non-object [APP\Plugin\DebugKit\Lib\Panel\SessionPanel.php, line 29]
Notice (8): Trying to get property of non-object [APP\Plugin\DebugKit\Lib\Panel\HistoryPanel.php, line 48]
Notice (8): Trying to get property of non-object [APP\Plugin\DebugKit\Lib\Panel\SessionPanel.php, line 29]
Fatal error: Call to a member function read() on a non-object in C:\xampp\htdocs\fgroup\cakephp\app\Plugin\DebugKit\Lib\Panel\SessionPanel.php on line 29

那我应该怎么做才能让它完美运行?

按照these说明进行操作,并确保 DebugKit 版本与您使用的 Cake 版本兼容