Account Reports not found

45 views
Skip to first unread message

Fred Beelen

unread,
Jul 1, 2025, 6:16:43 AMJul 1
to Canvas LMS Users
Hi, 

Installed release Stable 2025-06-18.
Ruby v.3.3..3

Problem
Select -> Settings: "Reports" returns an error:
undefined method `current_account' for class PluginSetting

Analysis
Via SiteAdmin -> Plugins -> Account Reports 
Reports checked.

Checked via database table "plugin_setttings", tried:
Set disabled = false
Set disabled = true

Source: app/models/account_reports.rb
def self.available_reports
# check if there is a reports plugin for this account
   RequestCache.cache("available_reports", PluginSetting.current_account) do
        AccountReports.available_reports
   end
end
Source: app/models/plugin_setting.rb
 def self.current_account=(_); end

What am I missing? Method not in context?
Thanks in advance.
Fred

Skylar

unread,
Jul 1, 2025, 4:15:12 PMJul 1
to Canvas LMS Users
Same here - posted an issue to github: https://github.com/instructure/canvas-lms/issues/2518
Reply all
Reply to author
Forward
0 new messages