Call to a member function isValid() on a non-object in Laravel 5

When upload files to Laravel 5 and got error “Call to a member function isValid() on a non-object” make sure you have added the “enctype=”multipart/form-data”” attribute(directive) to your form.

 

Leave a Reply

Back to Top