Here's what happened: we're using FPDi, but not only to do some magic with our PDFs. It comes with built-in support to display inline PDFs and downloads. We're using that. Or in fact, we were using that. As we changed it.
FPDi uses plain PHP and headers for it. Apparently, Octane doesn't like that. Octane catches the request and passes it on to whatever server you're using (Swoole or RoadRunner). This needs to be a Response object. It wasn't.
So, problem solved!
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.