Theme hook webform_handler_webform_spam_words_summary not found

Created on 5 February 2024, over 1 year ago

Ran into the error "Theme hook webform_handler_webform_spam_words_summary not found." sometimes when updating form handlers. This would prevent me from being able to successfully add or edit handlers on my webform.

Patch in-progress, will upload shortly.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @asila96
  • 🇯🇵Japan ilfelice

    Howdy,

    FWIW, I tried the patch (that adds the twig template), but the error keeps showing up in dblog.

    I even tried adding...

    /**
     * Implements hook_theme().
     */
    function webform_spam_words_theme() {
      return [
        'webform_handler_webform_spam_words_summary' => [
          'variables' => [
            'settings' => NULL,
            'handler' => NULL,
          ],
        ],
      ];
    }

    ...to webform_spam_words.module, but that made no difference.

Production build 0.71.5 2024