Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

timbogdanov's avatar

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?
1 like
1 reply

Please or to participate in this conversation.