V
V
Valery Khizhevsky2017-07-17 16:12:06
Laravel
Valery Khizhevsky, 2017-07-17 16:12:06

I save the view in Laravel, an error occurs, why can this be?

After editing, I save the view, there is nothing complicated in it, but after I press ctrl + s and restart the site on the local server, such an error occurs
add0cc07a9304d53a44890143ce69aa1.png
Next, I find this case through the sublime text search engine, and I see such a thing.
a3f5c5138e63457bac4119e29702785f.png
The culprit of everything is a semicolon out of nowhere in a file that lies in storage/frameworks/views/...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor, 2017-07-17
@Roshette

You can see this semicolon in your view, it should be just:
{{ Auth::user()->name }}

P
pantagruel964, 2017-07-17
@pantagruel964

"Unexpected semicolon" translated from bourgeois

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question