The following error is thrown only when
A) Max resolution is set for a filefield
B) An image is actually uploaded that is larger than the max resolution
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'file_validate_image_resolution_help' was given in D:\inetpub\vhosts\*siteurlhere*\httpdocs\sites\all\modules\filefield\filefield_widget.inc on line 236.
The code block this references is
foreach ($element['#upload_validators'] as $callback => $arguments) {
$help_func = $callback .'_help';
$desc[] = call_user_func_array($help_func, $arguments);
}
Note: The file still uploads and resizes correctly, just the error is thrown. I tested this on both 6.x-3.0-alpha3 release (error references line 233 in this case) and Aug 26 development snapshot 6.x-3.x (error references line 236 in this case).
Comments
Comment #1
illepic CreditAttribution: illepic commentedAaaand it looks like the issues list just updated for me and someone beat me to this by about 7 hours :)
Dupe, marking as such.