I’m mentioning this issue here just in case somebody else runs into the same problem. I’ve spent a few hours trying to track down the context that fire up these notices.
For an entityform with a file field, if that file field is displayed in the email display mode with “Generic file” format or “Table of files” format, the following notices will show up after form submission. No other entityforms settings influence this but the email display mode.
• Notice: Undefined property: stdClass::$uri in theme_file_link() (line 727 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in theme_file_icon() (line 765 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 809 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_map() (line 852 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 824 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 824 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 824 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 824 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filemime in theme_file_link() (line 734 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filesize in theme_file_link() (line 734 of ...\public\modules\file\file.module).
• Notice: Undefined property: stdClass::$filename in theme_file_link() (line 740 of ...\public\modules\file\file.module).
• Notice: Undefined index: filesize in theme_file_formatter_table() (line 1011 of ...\public\modules\file\file.field.inc).