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

megaezz's avatar

megaezz wrote a reply+100 XP

1mo ago

Blade::render() unlink error

So, the only way I found to avoid this problem is to render string by Blade::compileString + ob_start(), extract(), ob_get_clean().

megaezz's avatar

megaezz wrote a reply+100 XP

1mo ago

Blade::render() unlink error

Had the same issue now. It happened on production because of race condition. When 2 processes handle one view at the same time, then first process delete rendered view (because of deleteCachedView option) and another process still needs it.