Closed (fixed)
Project:
Media Mover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 14:23 UTC
Updated:
18 Dec 2008 at 22:32 UTC
When I delete a node, I get the following error:
Fatal error: Cannot use object of type stdClass as array in /home/youdrup/domains/youdrup.com/public_html/sites/all/modules/media_mover/media_mover_api.module on line 2840
Comments
Comment #1
aaron commentedIt also does not actually delete the files, although that is presumably because it crashes.
Comment #2
John Hodgins commentedthe problem is that the file field module is calling media mover's delete function with module_invoke_all('file_delete', $file); on line 262 of field_file.inc and feeding it garbage data. maybe changing the name of the media_mover_api_file_delete function?
Comment #3
arthurf commentedI think that that is a bad name spaced function- anything that deals with files would like have that function name. Sigh. Fix is now in CVS. Thanks for identifying it.