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 using the plupload.module for a custom form and when the form submits it gives this error:
Notice: Undefined property: stdClass::$source in imagecache_profiles_file_validate() (line 129 of /sites/all/modules/contrib/imagecache_profiles/imagecache_profiles.module).
Comment | File | Size | Author |
---|---|---|---|
#1 | imagecache_profiles-n1320862.patch | 681 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThe error arises because in imagecache_profiles_file_validate() the $file doesn't have the 'source' array element, so a quick check that it exists is all that's necessary.
Comment #2
andypostThanx, commited
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedRTBC.
this has not been included and really should be. It really fixes my error.
Comment #5
DamienMcKenna@SocialNicheGuru: the problem isn't that the fix hasn't been included, the problem is that there hasn't been a new release of the module since October 9th which is before the fix was committed.
Comment #6
andypostYes, seems I can't roll out new release after upgrade, and this commit is a only one that was commited since 9 Oct 2011 ;(
Comment #7
andypost7.x-1.1 rolled https://drupal.org/node/2133603 not sure when tar ball would be ready
Comment #8
DamienMcKennaCool, thanks andypost!