Cakephp 2.5.4添加DebugKit后出错

时间:2015-01-25 05:34:40

标签: php cakephp web youtube

我按照this Youtube videos给出了一步一步的步骤。

我非常有兴趣了解cakePhp的更多信息。 但不幸的是,在我从视频中添加了DebugKit作为步骤04之后。

我收到以下错误消息:

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

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

1 个答案:

答案 0 :(得分:1)

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