Open asugai opened 1 year ago
Also experiencing this issue exactly as described - very similar build.
Removing octane solves it. Would be very good if we could use both simultaneously. Not sure if any maintainers have an inkling where the issue might originate or if solvable. Happy to help where I can and definitely test any solution
Laravel Framework v9.43.0 Nova v4.19.5 ebess/advanced-nova-media-library v4.0.5
Issue: When I try to upload a file on my local machine to S3 without using octane, it works, but when deployed to Vapor running with Octane, the exact same code gets this error:
vendor/ebess/advanced-nova-media-library/src/Fields/Media.php:385 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
Undefined array key \"key\"
The file is saved correctly from the UI to the S3 tmp folder. The backend just can't seem to find the property in the $file var.
Sample payload
.env
Files field definition
vapor.yml
Commenting out the octane section fixes the error - but the app experience degrades.