NoMethodError: undefined method 'keys' for nil (NoMethodError) #34

Closed
opened 2026-10-10 20:01:14 +00:00 by error-bot · 0 comments
Collaborator

Glitchtip: https://errors.hoppe-dev.eu/hobbypunk/issues/8

Exception: NoMethodError: undefined method 'keys' for nil (NoMethodError)

providers = Configurations.auth.providers.keys
                                         ^^^^^
  at render_sso_providers (app/views/settings/security/edit.rb:139)
  at block in Views::Settings::Security::Edit#view_template (app/views/settings/security/edit.rb:18)
  at div (phlex/sgml/elements.rb:69)
  at view_template (app/views/settings/security/edit.rb:10)
  at block (2 levels) in Phlex::SGML#internal_call (phlex/sgml.rb:79)
  at around_template (phlex/sgml.rb:323)
  at block in Views::Base#around_template (app/views/base.rb:43)
  at __yield_content__ (phlex/sgml.rb:341)
  at block (3 levels) in Phlex::SGML#internal_call (phlex/sgml.rb:75)
  at block (4 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:23)
  at div (phlex/sgml/elements.rb:69)
  at block (3 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:22)
  at main (phlex/sgml/elements.rb:69)
  at block (2 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:15)
  at div (phlex/sgml/elements.rb:69)
  at block in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:12)
  at block (3 levels) in Views::Layouts::ApplicationLayout#view_template (app/views/layouts/application_layout.rb:44)
  at div (phlex/sgml/elements.rb:69)
  at block (2 levels) in Views::Layouts::ApplicationLayout#view_template (app/views/layouts/application_layout.rb:44)
  at body (phlex/sgml/elements.rb:69)

Reported automatically by Glitchtip.

<!-- glitchtip:8 --> **Glitchtip:** https://errors.hoppe-dev.eu/hobbypunk/issues/8 **Exception:** NoMethodError: undefined method 'keys' for nil (NoMethodError) providers = Configurations.auth.providers.keys ^^^^^ ``` at render_sso_providers (app/views/settings/security/edit.rb:139) at block in Views::Settings::Security::Edit#view_template (app/views/settings/security/edit.rb:18) at div (phlex/sgml/elements.rb:69) at view_template (app/views/settings/security/edit.rb:10) at block (2 levels) in Phlex::SGML#internal_call (phlex/sgml.rb:79) at around_template (phlex/sgml.rb:323) at block in Views::Base#around_template (app/views/base.rb:43) at __yield_content__ (phlex/sgml.rb:341) at block (3 levels) in Phlex::SGML#internal_call (phlex/sgml.rb:75) at block (4 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:23) at div (phlex/sgml/elements.rb:69) at block (3 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:22) at main (phlex/sgml/elements.rb:69) at block (2 levels) in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:15) at div (phlex/sgml/elements.rb:69) at block in Views::Layouts::SidenavLayout#view_template (app/views/layouts/sidenav_layout.rb:12) at block (3 levels) in Views::Layouts::ApplicationLayout#view_template (app/views/layouts/application_layout.rb:44) at div (phlex/sgml/elements.rb:69) at block (2 levels) in Views::Layouts::ApplicationLayout#view_template (app/views/layouts/application_layout.rb:44) at body (phlex/sgml/elements.rb:69) ``` *Reported automatically by Glitchtip.*
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hobbypunk/centinel#34
No description provided.