ActionView::Template::Error in Jobs::UserEmail

In Discourse v2026.2.0-latest +184, several Jobs::UserEmail dating from six days ago show up in SideKiq with "type"=>"user_posted":

Jobs::HandledExceptionWrapper: Wrapped ActionView::Template::Error: wrong number of arguments (given 1, expected 0)

Among the arguments, this one is suspect:

"display_username"=>"7 réponses",

Definitely seven replies does not look like a display username. Might be an argument that slipped. (Other such errors show a different reply count as display username.)

2 likes

Ahah! Nice one :stuck_out_tongue:

We’re collapsing multiple replies into one notifications and overriding the “username” :man_facepalming:

2 likes