Call to a member function get ClientOriginalName() on string
The error below occurred because I haven't placed enctype in form.
Enctype does encryption of the data of form and pass it to server with the help of [post method]
Solution:
Thankyou
laiba.hashnode.dev1 min read