E_UNOPENED_PAREN This exception is raised when Javascript expression for tags is not wrapped inside opening and closing braces. Invalid @if auth.user @endif Following is the valid expression Valid @if(auth.user) @endif