Account created on 26 April 2024, 7 months ago
#

Recent comments

Hi,

I came across an error that seems to be caused by this feature.

TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, Drupal\Core\Field\FieldItemList given in htmlspecialchars() (line 437 of /var/www/front8/web/core/lib/Drupal/Component/Utility/Html.php)

The

$account->getAccount()->name

in event_log_track_auth_user_logout (line 93) returns a FieldItemList and the FormatableMarkup is trying to escape the value when rendering it.

We should use

getAccountName()

as for the 'ref_char' variable.

Here's a patch attached.

I don't know if i'm supposed to open a new issue for this, as this issue is closed. Let me know.

Production build 0.71.5 2024