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

aaron’s picture

It also does not actually delete the files, although that is presumably because it crashes.

John Hodgins’s picture

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

arthurf’s picture

Status: Active » Fixed

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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.