megaezz's avatar

megaezz wrote a reply+100 XP

2w ago

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

2w ago

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.