nmtechnology
2 weeks ago
194
12
Laravel

syntax error, unexpected 'user' (T_STRING), expecting ')'

Posted 2 weeks ago by nmtechnology

This is what the line looks like below. Stack trace is highlighting a syntax error here in this line. It seems like it has an issue with all my route syntax. I have commented out this line and then stack trace just pulls up my next route as an issue and so on. I don't know what happened because this syntax was never an issue before. I am at Laravel version 7.11 and recently upgraded this project to that version.

<li><a href="{{ route('user.orders') }}"> Active Companions</a></li>

Please sign in or create an account to participate in this conversation.