Got a fatal error whilst developing a new page template, looked at the cached php file which sage is using and I see only half the file converts to <?php from @php
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: syntax error, unexpected '@' in /tmp/sage-cache/bd612976b245b29432910d0149089850b49fcd08.php on line *46*
Still had this old shorthand php leftover, now updated.
{{-- Create active class if this is the first item in the loop --}}
@if ( $loop->first )
@php( $active_status = 'active' )
@else
@php( $active_status = '' )
@endif
Updated
{{-- Create active class if this is the first item in the loop --}}
@if ( $loop->first )
@php
$active_status = 'active';
@endphp
@else
@php
$active_status = '';
@endphp
@endif