Hi I'm stuck on this error message. I tried to encapsulate it with parenthesis still I got an error on this specific line.
<li class="{{ (\Request::is('stocks/*') ? ' open' : Request::is('stocks') ? ' open' : Request::is('defective/*') ? ' open' : '') }}">
It works on local, yet after Iv'e deployed it to heroku the error occurs.