issue with file uploading in laravel issue with file uploading in laravel symfony symfony

issue with file uploading in laravel


This is happening because you are trying to return with the file input.

You should write this

$input = \Input::except('license_file');return \Redirect::route('drivers.create')->withInput($input)->withErrors($validator);

instead of only

   return \Redirect::route('drivers.create')->withInput($input)->withErrors($validator);