This error occurs when you link to custom routes in drupal:

href="{{ path(contest.walloffame) }}

Solution

Add parentheses solves this issue:

href="{{ path('contest.walloffame') }}