Closed zedee closed 7 years ago
Hi, seems in that line 1 of item.blade.php :
item.blade.php
<li class="@if($item->getItemClass()){{ $item->getItemClass() }}@endif @if($active)active@endif @if($item->hasItems())treeview@endif clearfix">
Causes the following error:
Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF)
Putting an extra space before the start of @endif seems to solve the problem, so line 1 should be:
@endif
<li class="@if($item->getItemClass()){{ $item->getItemClass() }}@endif @if($active)active @endif @if($item->hasItems())treeview @endif clearfix">
Seems that the Blade's @foobar directives must be "isolated" with a space before.
@foobar
Hi, seems in that line 1 of
item.blade.php
:Causes the following error:
Putting an extra space before the start of
@endif
seems to solve the problem, so line 1 should be:Seems that the Blade's
@foobar
directives must be "isolated" with a space before.