ArgumentError: wrong number of arguments (given 0, expected 1) in upcoming_change_stable_opted_out problem check — flooding logs

NOTE: The below text was generated at my request from the official ask.discourse chatbot summarizing my discussion

I’m seeing hundreds of these warnings in /logs (1500+ so far):

A scheduled admin dashboard problem check (upcoming_change_stable_opted_out) errored. : ArgumentError : wrong number of arguments (given 0, expected 1)

The backtrace points to:

app/services/problem_check/upcoming_change_stable_opted_out.rb:24:in 'translation_data'
app/models/problem_check.rb:203:in 'ProblemCheck#run'

Full stack trace available if needed. Running Ruby 3.4.

This appears to be a Discourse core issue similar to other recent ProblemCheck bugs. The translation_data method on line 24 of that file is being called with 0 arguments when it expects 1 — likely a Ruby 3.4 keyword argument separation issue.

Let me know if you need any additional information.

(Strangely, my admin dashboard no longer tells me what version I’m running. I’m not more than 2 weeks old)

Thanks for reporting, I think your hunch might be true because it’s happening on a different problem check too:

A scheduled admin dashboard problem check (group_email_credentials) errored. : ArgumentError : wrong number of arguments (given 0, expected 1)

This is a fairly recent change, I’m not sure if this only applies on our hosting, but there is this link in the admin sidebar that shows this information now.

No I’m self hosted. I don’t see it:

It would be nice if changes like this could be announced. I think I will start a new thread if I can’t figure it out.

You can see the version you are running on that Update Discourse page, no? Or are you more meaning you would have liked to have seen details of the version moving off the dashboard being announced? There was an announcement for the admin dashboard (along with an upcoming change) here Better insights into your community with the redesigned admin dashboard , but not sure if it mentions versions.