Switching widget from "Tagify" to "Tagify User List" produces an error

Created on 16 January 2025, 3 days ago

Steps to reproduce

1. On field which is using "Tagify" widget change widget to "Tagify User List".
2. Visit an entity edit form.
3. Error:

The website encountered an unexpected error. Try again later.

TypeError: Drupal\tagify_user_list\Element\EntityAutocompleteTagifyUserList::getTagifyDefaultValue(): Argument #2 ($info_label_template) must be of type string, null given, called in /var/www/html/web/modules/contrib/tagify/modules/tagify_user_list/src/Element/EntityAutocompleteTagifyUserList.php on line 193 in Drupal\tagify_user_list\Element\EntityAutocompleteTagifyUserList::getTagifyDefaultValue() (line 233 of modules/contrib/tagify/modules/tagify_user_list/src/Element/EntityAutocompleteTagifyUserList.php).
Drupal\tagify_user_list\Element\EntityAutocompleteTagifyUserList::valueCallback()
call_user_func_array() (Line: 1278)
Drupal\Core\Form\FormBuilder->handleInputElement() (Line: 999)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 1069)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 1069)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 579)
Drupal\Core\Form\FormBuilder->processForm() (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult() (Line: 96)
Drupal\mercury_editor\Controller\MercuryEditorHtmlEntityFormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 38)
Drupal\mercury_editor\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇺🇦Ukraine oleksandr.s

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024