Getting this error after trying to import nodes from node export:

Notice: Trying to get property of non-object in file_field_presave() (line 220 of /home/xxx/modules/file/file

Steps to reproduce:

  • Install node export
  • create a VBO to export json
  • import vbo through ui

What could be causing this?