Jul 19, 2025
1
Level 1
Laravel Livewire error overlay <iframe> stays blank when throwing exception
I have a Livewire 3.x component that displays a confirmation modal for deleting a page. When I deliberately throw an exception in my action, Livewire shows the dark “error” overlay, but the inside it is completely empty—no stack trace, nothing.
What I’ve Tried
- APP_DEBUG=true in .env & php artisan optimize:clear
- Including @livewireStyles in and @livewireScripts before
- Deleting any published override at resources/views/vendor/livewire/error.blade.php
- Clearing all caches (config, route, view)
- Checking Laravel logs for the 👀 test error message
- Despite all that, the dark overlay appears and the iframe remains empty—no error HTML ever gets injected.
Questions
- Why isn’t Livewire injecting the exception
- HTML into the overlay ?
- How can I force Livewire to actually display the exception stack trace in the modal? Is there some other configuration or script load order I’m missing?
Please or to participate in this conversation.