If the error moves, then this points to it being an unclosed php function earlier in the page.
So, look in the code for the code PRIOR to the location of the error
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, My app is working without error in localhost, however when i deployed it to shared hosting server, i'm having above error, i don't know if i should do extra things to make it work, after running composer install,
this error is pointing to this line
<a href="{{route('event.index')}}">
if i removed it to see if the error disappers, then i got another error pointing to this
{{ trans("front/navbar.Events") }}
which all are working fine in localhost, any help please !
If the error moves, then this points to it being an unclosed php function earlier in the page.
So, look in the code for the code PRIOR to the location of the error
Please or to participate in this conversation.