Closed (fixed)
Project:
ImageCache Profiles
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
28 Jan 2011 at 11:59 UTC
Updated:
24 Jul 2015 at 11:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andypostPlease explain a steps to reproduce this message
Is it appears on user profile page or node page?
Comment #2
Anonymous (not verified) commentedThe message appears on the profile edit page, but after the picture has been uploaded.
It also appears on the 'create content' page of any content type with a picture upload field... after the picture has been uploaded.
Funnily enough though... the pictures in the node contents do not disappear. Only the ones in user profiles disappear when they log out.
Comment #3
dave reidThis error is because the docs for hook_file_validate are wrong (see #1067650: $file is not passed by reference to hook_file_validate()). $file is an object, so there is no need to have '&$file' in the hook implementation declarations.
Comment #4
andypostThanx, fixed http://drupal.org/cvs?commit=503568