tbwetix → created an issue.
✨ | Events Log Track | Enhance description messages and log the resetting the password event if the user not exist
✨ | Events Log Track | Enhance description messages and log the resetting the password event if the user not exist
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.
🐛 | Barrio Bootstrap 5 Theme | Fix the filter method in the commerce coupon redemption form template
🐛 | Barrio Bootstrap 5 Theme | Fix the filter method in the commerce coupon redemption form template
tbwetix → created an issue.