Hi,

whenever I try to edit an image I upload (change the title, body, etc.) I can't save my changes. When I hit the save button 2 errors occur.

Notice: Undefined index: file on media_edit_submit() (line 366 of /Applications/MAMP/htdocs/julio/profiles/julio/modules/media/includes/media.pages.inc).

EntityMalformedException: missing bundle property on entity of type file. on entity_extract_ids() (line 7633 of /Applications/MAMP/htdocs/julio/includes/common.inc).

How can I solve this?

Thanks a lot.

Comments

max-fin’s picture

Priority: Normal » Major

Hi,

Same issue here. I have been trying to find the solution but until here nothing to fix it.

- Running media 7.x-1.2
- Media gallery 7.x-1.0-beta8

When I edit the caption of the image and click save I am get this error:

Notice: Undefined index: file in media_edit_submit() (line 366 of /Users/maxperalta/Sites/drupal-7.16/sites/all/modules/media/includes/media.pages.inc).

EntityMalformedException: Missing bundle property on entity of type file. in entity_extract_ids() (line 7633 of /Users/maxperalta/Sites/drupal-7.16/includes/common.inc).

Thanks in advance :)

Max