UploadedFile doesn't have a save
method, as the error says.
Also you are overwriting your variables by reassigning them so based on that if block you are calling save
on different objects.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community