Unable to find template "function.twig"