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.
I'm getting this error after migrating a site to a server with php 5.3.
Notice: Undefined index: description in theme_imagefield_image_imagecache_lightbox2() (line 162 of /var/aegir/platforms/live/systemseed-6.x-1.20.3/profiles/systemseed/modules/contrib/lightbox2/lightbox2.formatter.inc).
Attached patch should resolve it.
Comment | File | Size | Author |
---|---|---|---|
#5 | lightbox2-1165214-5.patch | 1.35 KB | smokris |
#4 | lightbox2-1244546-1165214-drushmakeclean.patch | 1.32 KB | theohawse |
#3 | lightbox2-1244546-1165214.patch | 1.33 KB | theohawse |
#2 | lightbox-1165214-2.patch | 1.72 KB | mikeytown2 |
#1 | 1165214-lightbox2-undefined-index.patch | 661 bytes | mrfelton |
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedAnd the patch :)
God, how may more undefined index warnings can one man fix in a day!!!
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedPatch I'm using for this
Comment #3
theohawse CreditAttribution: theohawse commentedneither patch worked for me against 1.1 or 1.x-dev (edit:drush make=culprit)
attached is patch for testing, also included the other php 5.3 fix from here: http://drupal.org/node/1244546
Comment #4
theohawse CreditAttribution: theohawse commentedturns out drush make is super picky. attached is a friendlier non git version
Comment #5
smokrisRe-rolled patch in #3/#4.