Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I attempt to set Lighbox2 display format for my content type I get a JavaScript error:
drupal lightbox notice: Undefined index: in .../lightbox2.module on line 896
I suspect this error might be related to the fact that the site I am working on was recently migrated from D6 site to D7 and possibly some old info from the old LB version might have remained and is now in conflict with D7 version of Lightbox.
Comment | File | Size | Author |
---|---|---|---|
#2 | undefined_index_js_error-2997309-2.patch | 784 bytes | sano |
Comments
Comment #2
sano CreditAttribution: sano as a volunteer commenteda patch that fixed the problem for me is attached.
Comment #3
sano CreditAttribution: sano as a volunteer commentedComment #4
pifagorLook good
Comment #5
alex_optim+1
Comment #6
volegerFixed code style of the function on the commit.
Thanks, pushed to 7.x-2.x-dev