Error thrown

Call to undefined function twig_template_get_attributes()