Macro "getTemplateName" is not defined in template

Created on 5 November 2021, over 3 years ago
Updated 19 July 2024, 8 months ago

Throws this error when test submitting the webform

Twig\Error\RuntimeError: Macro "getTemplateName" is not defined in template "modules/contrib/htmlmail/templates/htmlmail.html.twig". in twig_call_macro() (line 135 of /var/www/fisher-d9/web/modules/contrib/htmlmail/templates/htmlmail.html.twig).

This is the line 135

{% if _self.getTemplateName() == themeTemplate  %}

I am on Drupal 9.2.8

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada cyoon84

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024