I am getting this notice from theme.inc

Notice: Undefined index: title in theme_item_list() (line 2084 of /includes/theme.inc)

any suggestions will be helpful for me.

Thanks,
Sanjay

Comments

debaryadas’s picture

Can you provide a little more details about how you are getting the error?

sanjay.soni’s picture

Hi Debarya,

I used this code to trace this notice in 'includes/theme.inc' file-

if(!isset($variables['title'])) {
$debug = debug_backtrace();
foreach ($debug as $data) {
$log .= $data['function'] . ' < ';
}
echo '

'; print_r($log);exit();
}

I reached at this result that, menu items is rendered as html using this function but we didn't pass 'title' value in $variables parameter of this function.
So that's why I was getting this notice.

Thanks for your resoponse. I resolved it.

Sanjay 
sanjay.soni’s picture

Status: Active » Fixed

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.