LINE number
Hi there,
I've not seen this on my end. Can you share a bit more information on your exact setup?
-
Have you tried to clear the Laravel cache?
php artisan optimize:clear
-
Have you made any changes that could be causing this?
-
On which page exactly does it happen?
-
How exactly did you install Wave?
- Bobby
Ran into the same issue a few times. Running optimize:clear or view:clear solves it :)
















Awesome! Happy to hear that!
@bobbyiliev Is there a possibility there is some kind of debug tools maybe that causes it? Like what @stanmenten also encounter similar issue, I'm not able to reproduce this issue, because it comes and go randomly.
@stanmenten Thanks! Sometimes it works, sometimes it doesn't, not sure why though.
Hi there,
Happy to hear that this worked now.
I've not personally seen this before, but as far as I can see after some googling, those line number indicators (|---LINE:345---|
and |---LINE:359---|
etc.) typically appear in Laravel Blade views when there's an error in template compilation or when there's a mismatch in Blade directive nesting (like @if
, @foreach
, @section
, etc.).
-
Mismatched Blade directives - You might have:
- An
@if
without a matching@endif
- An extra
@endif
without a matching@if
- A
@foreach
without@endforeach
- An
-
Mismatched HTML tags - The number of opening and closing
div
tags don't match up
You can also temporarily add comments near your @if
statements to help track their corresponding @endif
:
@if($condition) {{-- start main if --}}
@if($nested) {{-- start nested if --}}
@endif {{-- end nested if --}}
@endif {{-- end main if --}}
If you are using VS Code the new Laravel VS Code extension might be helpful to verify if this is the case.
- Bobby