FARDEEN's avatar

Livewire: Updating properties / image upload cause a dump and die like small black window to appear in production server

I am quite new to Laravel and Livewire. I am trying a project where I have to make a registration form and allow users to upload images.

I am implementing these (form + image upload) with livewire. But it works completely fine in my local machine (Windows) but I get this small blank dump and die-like black screen upon updating any property or uploading an image. I have searched for solutions but did not find any.

So if you know about it, it would be very helpful if you share your ideas.

I have tried different cache, clear, config commands but no change.

I have also tried this command: php artisan livewire:publish --assets

But no change.

I wanted to give the link to the production server page but I was rejected. So could not do that.

Thank you for your time.

0 likes
2 replies
abdosaeedelhassan's avatar

I thing In the .env file you need to set (APP_DEBUG=true), to see what error fired, or you can search in log files

1 like
FARDEEN's avatar

Thanks for your suggestion. It is already set to 'true'. Because I have not done any specific configuration for the live server since it is still under development.

Please or to participate in this conversation.