vlaamswoordenboek / vlaamswoordenboek.be

8 stars 4 forks source link

[Airbrake] [Production] undefined method `each_with_index' for nil:NilClass #2297

Open nathansamson opened 1 month ago

nathansamson commented 1 month ago

Airbrake error: #4487 Airbrake project: Vlaamswoordenboek

Error type: ActionView::Template::Error Error message: undefined method `each_with_index' for nil:NilClass Where: definities#recent_rss Occurred at: Aug 15, 2024 00:42:36 UTC First seen at: Aug 15, 2024 00:42:36 UTC Occurrences: 0 (0 since last deploy on <no information>) Severity: error

URL: https://www.vlaamswoordenboek.be/recent.xml File: /PROJECT_ROOT/app/views/definities/recent.html.erb

Backtrace:

/PROJECT_ROOT/app/views/definities/recent.html.erb:4:in _app_views_definities_recent_html_erb___521152908341941445_54680
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/base.rb:247:in public_send
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/base.rb:247:in _run
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/template.rb:154:in block in render
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications.rb:205:in instrument
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/template.rb:345:in instrument_render_template
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/template.rb:152:in render
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:61:in block (2 levels) in render_template
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications.rb:203:in block in instrument
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications/instrumenter.rb:24:in instrument
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications.rb:203:in instrument
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:56:in block in render_template
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:71:in block in render_with_layout
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications.rb:203:in block in instrument
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications/instrumenter.rb:24:in instrument
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/notifications.rb:203:in instrument
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:70:in render_with_layout
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:55:in render_template
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/template_renderer.rb:11:in render
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/renderer.rb:61:in render_template_to_object
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/renderer/renderer.rb:29:in render_to_object
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/rendering.rb:117:in block in _render_template
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/base.rb:273:in in_rendering_context
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/rendering.rb:116:in _render_template
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/streaming.rb:218:in _render_template
/GEM_ROOT/gems/actionview-6.1.4/lib/action_view/rendering.rb:103:in render_to_body
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/rendering.rb:52:in render_to_body
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/renderers.rb:142:in render_to_body
/GEM_ROOT/gems/actionpack-6.1.4/lib/abstract_controller/rendering.rb:25:in render
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/rendering.rb:36:in render
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/instrumentation.rb:46:in block (2 levels) in render
/layers/heroku_ruby/ruby/vendor/ruby-2.7.4/lib/ruby/2.7.0/benchmark.rb:308:in realtime
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/core_ext/benchmark.rb:14:in ms
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/instrumentation.rb:46:in block in render
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/instrumentation.rb:86:in cleanup_view_runtime
/GEM_ROOT/gems/activerecord-6.1.4/lib/active_record/railties/controller_runtime.rb:34:in cleanup_view_runtime
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/instrumentation.rb:45:in render
/PROJECT_ROOT/app/controllers/definities_controller.rb:232:in recent_rss
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action
/GEM_ROOT/gems/actionpack-6.1.4/lib/abstract_controller/base.rb:228:in process_action
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/rendering.rb:30:in process_action
/GEM_ROOT/gems/actionpack-6.1.4/lib/abstract_controller/callbacks.rb:42:in block in process_action
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/callbacks.rb:117:in block in run_callbacks
/GEM_ROOT/gems/actiontext-6.1.4/lib/action_text/rendering.rb:20:in with_renderer
/GEM_ROOT/gems/actiontext-6.1.4/lib/action_text/engine.rb:59:in block (4 levels) in <class:Engine>
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/callbacks.rb:126:in instance_exec
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/callbacks.rb:126:in block in run_callbacks
/GEM_ROOT/gems/activesupport-6.1.4/lib/active_support/callbacks.rb:137:in run_callbacks
/GEM_ROOT/gems/actionpack-6.1.4/lib/abstract_controller/callbacks.rb:41:in process_action
/GEM_ROOT/gems/actionpack-6.1.4/lib/action_controller/metal/rescue.rb:22:in process_action
...
Caused by NoMethodError: undefined method `each_with_index' for nil:NilClass

Visit Airbrake error to view the full backtrace.