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

jimfennacy - March 16, 2009 - 19:19

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

samhassell - March 23, 2009 - 12:16

subscribe

#3

arthurf - March 23, 2009 - 12:47
Version:5.x-1.0-rc4» 5.x-1.x-dev
Status:active» needs review

Thanks for the report. I made this change- please try the dev version and see if things are functioning as expected.

 
 

Drupal is a registered trademark of Dries Buytaert.