Closed (fixed)
Project:
Tagify
Version:
1.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2025 at 18:20 UTC
Updated:
16 Jan 2025 at 19:03 UTC
Jump to comment: Most recent
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)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
oleksandr.s commentedComment #4
gxleano commentedThanks Oleksandr for the fix!
It will be included in release
1.2.29Comment #5
gxleano commented