TechforgoodCAST / beehive-giving

A free funding suitability checking tool
https://www.beehivegiving.org
MIT License
2 stars 2 forks source link

ActionView::Template::Error: undefined method `first_name' for nil:NilClass #818

Closed suninthesky closed 4 years ago

suninthesky commented 5 years ago

View details in Rollbar: https://rollbar.com/beehive-giving/beehive-giving/items/282/



NoMethodError: undefined method `first_name' for nil:NilClass
  File "/app/app/views/sign_in/auth/new.html.haml", line 13, in _app_views_sign_in_auth_new_html_haml___2162806644211473741_69906143024360
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 159, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 170, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 354, in instrument_render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/template.rb", line 157, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/abstract_renderer.rb", line 44, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb", line 23, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/abstract_renderer.rb", line 43, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 77, in block in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 34, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/tracer.rb", line 73, in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/template_renderer.rb", line 16, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/renderer.rb", line 44, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/renderer/renderer.rb", line 25, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/rendering.rb", line 103, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/streaming.rb", line 219, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.2/lib/action_view/rendering.rb", line 84, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb", line 52, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/renderers.rb", line 142, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/abstract_controller/rendering.rb", line 25, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb", line 36, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 46, in block (2 levels) in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/benchmark.rb", line 14, in block in ms
  File "/app/vendor/ruby-2.5.3/lib/ruby/2.5.0/benchmark.rb", line 308, in realtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/benchmark.rb", line 14, in ms
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 46, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb", line 31, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 45, in render
  File "/app/app/controllers/sign_in/auth_controller.rb", line 29, in create
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/basic_implicit_render.rb", line 6, in send_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb", line 194, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/instruments/action_controller_rails_3_rails4.rb", line 73, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb", line 42, in block in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb", line 132, in run_callbacks
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb", line 41, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/rescue.rb", line 22, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 34, in block in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb", line 23, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb", line 168, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb", line 32, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.2/lib/action_controller/metal/params_wrapper.rb", line 256, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb", line 24, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.4.21/lib/scout_apm/instruments/action_controller_rails_3_rails4.rb", line 86, in process_action
  File "/app