Skip to content

[WebProfiler] Error: Call to a member function getClientOriginalName() on null #29178

Closed
@gharlan

Description

@gharlan

Symfony version(s) affected: 4.2.0-beta1

Description
In a form with an optional file input, when not sending a file, I get this Error:

Call to a member function getClientOriginalName() on null

screenshot 2018-11-11 13 36 58

Additional context
I think this error was introduced by #26946, ping @javiereguiluz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions