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

TonsOfLaz's avatar

The Spark White Screen of death

Does anyone know how to get around the Spark blank screen? Basically, some condition (maybe a javascript error, maybe a vue error, but it doesn't show in the Console so I am not sure of the general rule yet), the page loads but is entirely hidden. I get just a blank white page with no indication of what went wrong, but I can see it all in the page source.

First off: are other people getting this? Have you seen a way around this? What's going on?

Thanks for any thoughts, anything is appreciated!

0 likes
2 replies
TonsOfLaz's avatar

For future reference, I get this screen when there is any error or problem rendering the blade view. So for instance, i did a {{ dd($var) }} in the blade view, and that gives the White Screen of Death (WSoD).

I also had an invalid foreach, i.e. @foreach ($invalid->object->list as $item)

and instead of any normal error message from blade, I get the WSoD.

It must have to do with the Vue display of the Spark app. If something breaks the normal view, it still tries to render it through vue and we get the blank screen and no clues, unfortunately.

TonsOfLaz's avatar

I am a bit confused that nobody else is getting this. I am having a really hard time adding any sort of other Vue functionality to my Spark project. I keep getting a blank white screen and no indication about where/why/how/what might be happening.

Have other people been able to easily add Vue into their Spark projects? I haven't found any resources on here to help with it yet, but it seems like I am either missing something obvious or people aren't using their own vue with their Spark projects.

Please or to participate in this conversation.