Hey all,

I keep seeing this error message when looking at any media module screens now that i have Lightbox2 enabled:

Notice: Undefined index: title in theme_lightbox2_image() (line 100 of /var/www/vhosts/mywebsite.com/httpdocs/sites/all/modules/lightbox2/lightbox2.formatter.inc).

When I look at line 100 of lightbox2.formatter.inc I see:

  $path['options']['attributes']['title'] = $item['title'];

Any ideas on whats wrong with that line, or otherwise how to fix this?



designguru’s picture

For now I just deleted that line - will it cause problems?


harshil.maradiya’s picture

Issue summary: View changes

Hello designguru ,
Please do not modify core files of lightbox2 it will not solve your problem but it will introduce other bugs also

Would you please provide exact steps to reproduce this issue ,as i am not able to reproduce the same
which admin theme you are using ?
and exact step to reproduce the issue

jamadar’s picture

Hello designguru,
we are not able to replicate this issue in our environment.
Please provide steps to reproduce this error.