Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionView::Template::Error: undefined method `title' for nil:NilClass #234

Open
quaasi opened this issue Apr 4, 2019 · 0 comments
Open

Comments

@quaasi
Copy link
Member

quaasi commented Apr 4, 2019

View details in Rollbar: https://rollbar.com/MQA/em/items/92/


NoMethodError: undefined method `title' for nil:NilClass
  File "/var/www/events/releases/20190329174431/app/helpers/search_helper.rb", line 9, in display_name_for
  File "/var/www/events/releases/20190329174431/app/views/admin/search/index.html.slim", line 15, in block (2 levels) in _app_views_admin_search_index_html_slim__2967254743126609983_70101090298280
  File "/var/www/events/releases/20190329174431/app/views/admin/search/index.html.slim", line 12, in each
  File "/var/www/events/releases/20190329174431/app/views/admin/search/index.html.slim", line 12, in block in _app_views_admin_search_index_html_slim__2967254743126609983_70101090298280
  File "/var/www/events/releases/20190329174431/app/views/admin/search/index.html.slim", line 5, in each
  File "/var/www/events/releases/20190329174431/app/views/admin/search/index.html.slim", line 5, in _app_views_admin_search_index_html_slim__2967254743126609983_70101090298280
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/template.rb", line 157, in block in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb", line 168, in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/template.rb", line 352, in instrument_render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/template.rb", line 155, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/template_renderer.rb", line 52, in block (2 levels) in render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/abstract_renderer.rb", line 42, in block in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb", line 166, in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/abstract_renderer.rb", line 41, in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/template_renderer.rb", line 51, in block in render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/template_renderer.rb", line 59, in render_with_layout
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/template_renderer.rb", line 50, in render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/renderer.rb", line 42, in render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/renderer/renderer.rb", line 23, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/rendering.rb", line 103, in _render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionview-5.1.6/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb", line 52, in render_to_body
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/renderers.rb", line 141, in render_to_body
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/rendering.rb", line 24, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb", line 36, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
  File "/home/deploy/.rubies/ruby-2.4.2/lib/ruby/2.4.0/benchmark.rb", line 308, in realtime
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/core_ext/benchmark.rb", line 12, in ms
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/railties/controller_runtime.rb", line 29, in cleanup_view_runtime
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb", line 43, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/wicked_pdf-1.1.0/lib/wicked_pdf/pdf_helper.rb", line 42, in render_with_wicked_pdf
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/wicked_pdf-1.1.0/lib/wicked_pdf/pdf_helper.rb", line 27, in render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/implicit_render.rb", line 33, in default_render
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb", line 4, in block in send_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb", line 4, in tap
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb", line 4, in send_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb", line 186, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 131, in run_callbacks
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.
@quaasi quaasi closed this as completed Apr 15, 2019
@quaasi quaasi reopened this Jun 4, 2019
@quaasi quaasi closed this as completed Jun 13, 2019
@quaasi quaasi reopened this Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant