php - Notice: Undefined index: label -


i have annoying error:

err (3): notice: undefined index: label  in /var/www/html/www.mysite.com/prod/app/code/core/mage/core/model/layout.php on line 367 

any idea?

your array not contain item index 'label', php spits out error.

for example:

// works fine. $i = array(); $i['label'] = "my value";  echo $i['label']; 

but however, code doing, not work.

$i = array(); $i['somerandomlabel'] = "my value";  echo $i['label'); // fail, 'label' in $i never set 

examine code , make sure set 'label' @ point in time.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -