Twig_Error_Runtime thrown

An exception has been thrown during the rendering of a template ("Requested method 'permalink' is unknown") in "agenda-widget.twig" at line 38.