To remove this error, in your html form you should do the following in enctypeenctype:
<form enctype="multipart/form-data"> The following down is the cause of that error i.e if you start with form-data in enctype,so so you should start with multipart.:
<form enctype="form-data/multipart">