Call to undefined function filefield_widget_upload_validators
jimfennacy - March 16, 2009 - 18:53
| Project: | Media Mover |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Running D5 with MediaMover 5.x-1.0-rc4. When I run a configuration I get this error:
Call to undefined function filefield_widget_upload_validators ... in mm_cck.module line 350.
After searching thru the code I've found that the filefield_widget_upload_validators() is a new function in the D6 FileField module.

#1
This problem was introduced into RC1 during D6 backporting.
Commenting out line 350 in mm_cck.module fixes the problem.
$validators = filefield_widget_upload_validators($field);
$validators is never used so commenting out the call has no side effects.
#2
subscribe
#3
Thanks for the report. I made this change- please try the dev version and see if things are functioning as expected.