Skip to content

php 5.4 Illegal string offset 'class' #49

Closed
Siomkin opened this Issue Mar 6, 2012 · 7 comments

7 participants

@Siomkin
Siomkin commented Mar 6, 2012

В php 5.4 выдаёт ошибку Illegal string offset 'class'
/extensions/yii-debug-toolbar/YiiDebugToolbar.php(186)
186 isset($config['class']) || $config['class'] = $id;

@dm1try dm1try pushed a commit that referenced this issue Mar 12, 2012
unknown issue #49, added array check for panel's config b2c75ea
@hiegdk
hiegdk commented Mar 28, 2012

I'm seeing this issue as well.

@dm1try
dm1try commented Mar 28, 2012

hiegdk,
did you use the patch?

@hiegdk
hiegdk commented Mar 28, 2012

downloaded a fresh copy - no change. Has this been merged into the main branch?

@JohnnyMa

use the latest version, this bug is fixed already.
tried this commit 066dec1, it works fine.

i think this issue should be closed ;)

@kmindi
kmindi commented Sep 22, 2012

this has been fixed, can be closed

@voskobovich

PHP notice
Trying to get property of non-object

protected/extensions/yii-debug-toolbar/views/yii_debug_toolbar.php(13)

$panel - no object, why?

Using php version 5.3

@malyshev
Owner

Hi @voskobovich. Is your comment relates to this topic?

@malyshev malyshev closed this Dec 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.