In your form you have
<input type="file" style="display: none;" name="note" id="note">
and in your controller you have
$request->file('note_file')->storeAs('verification_documents', $email.'_note', 's3');
try to change your controller to the following
$request->file('note')->storeAs('verification_documents', $email.'_note', 's3');
Sorry for my bad english. I hope I could help you.
g-okumu liked this reply
Ah yes, sorry. I copied this from some older code I was using. My new code does use 'note' in both places. Still not working.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community