TypeError: Drupal\tagify_user_list\TagifyUserListEntityAutocompleteMatcher::buildTagifyUserListItem(): Argument #5 ($image) must be of type string, null given
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3544611. -->
Reported by: [dieterholvoet](https://www.drupal.org/user/3567222)
Related to !167
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The following error is thrown when autocompleting a user widget:</p>
<blockquote><p>TypeError: Drupal\tagify_user_list\TagifyUserListEntityAutocompleteMatcher::buildTagifyUserListItem(): Argument #5 ($image) must be of type string, null given, called in /[..]/web/modules/contrib/tagify/modules/tagify_user_list/src/TagifyUserListEntityAutocompleteMatcher.php on line 65</p></blockquote>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>A new widget option was introduced in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/tagify/-/work_items/3508120" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/tagify/-/work_items/3508120</a></span>, but without update hook to set its value in existing installations. Add a update hook that does so.</p>
issue