Visiting /file/add/foo produces the following error:

Recoverable fatal error: Argument 3 passed to file_entity_add_upload() must be an array, string given in file_entity_add_upload() (line 38 of drupal/sites/all/modules/file_entity/file_entity.pages.inc).

I found this by accident, a third argument to this URL isn't expected in normal use. Still, it's an easy fix.

CommentFileSizeAuthor
#1 1707108.patch510 bytesgrendzy

Comments

grendzy’s picture

Status: Active » Needs review
StatusFileSize
new510 bytes
dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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