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).
CommentFileSizeAuthor
#1 imagecache_profiles-n1320862.patch681 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
681 bytes

The 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.

andypost’s picture

Status: Needs review » Fixed

Thanx, commited

Status: Fixed » Closed (fixed)

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

SocialNicheGuru’s picture

RTBC.

this has not been included and really should be. It really fixes my error.

DamienMcKenna’s picture

@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.

andypost’s picture

Yes, seems I can't roll out new release after upgrade, and this commit is a only one that was commited since 9 Oct 2011 ;(

andypost’s picture

7.x-1.1 rolled https://drupal.org/node/2133603 not sure when tar ball would be ready

DamienMcKenna’s picture

Cool, thanks andypost!