Can you check
storage/logs/laravel.log for any hints?
The next step would be confirming that each step of the process is doing what you expect. Ex) Is
$stock definitely what we expect?
It might also be good to confirm that the image is a jpg (though the browser should be smart enough to figure that out), and that the image itself isn't just a black box. :D
There is no error in the log and the $stock dumps dhe right values.
Can you show the response the browser is receiving (headers and data)?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.