malyshev / yii-debug-toolbar

A configurable set of panels that display various debug information about the current request/response.

Home Page:http://www.yiiframework.com/extension/yii-debug-toolbar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Не работает с yii.php, работает только с yiilite.php

MelkoV opened this issue · comments

PHP 5.4.12
При работе через yii.php ошибка:

Trying to get property of non-object
protected\extensions\yii-debug-toolbar\views\main.php(9) : data-ydtb-expand-panel="<?php echo $panel->id ?>"

$panel не является объектом.

protected\extensions\yii-debug-toolbar\YiiDebugViewRenderer.php(40): CBaseController->renderInternal("protected\extensions\yii-debug-toolbar\views\...", array("panels" => array(YiiDebugToolbarPanelRequest, YiiDebugToolbarPanelSettings, "YiiDebugToolbarPanelViews", "YiiDebugToolbarPanelSql", ...)), false)

Возможно, ошибка в Yii::createComponent ?