Error in module Events : Content in Main content area - reconfigure.

undefined method `uploads' for nil:NilClass(haml):3:in `block in render'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/haml-4.0.5/lib/haml/engine.rb:129:in `eval'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/haml-4.0.5/lib/haml/engine.rb:129:in `render'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1122:in `block (4 levels) in render_page'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1022:in `prepare_context'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1113:in `block (3 levels) in render_page'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:46:in `each'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:46:in `each'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1095:in `block (2 levels) in render_page'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1094:in `each'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1094:in `block in render_page'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/benchmarkable.rb:41:in `block in benchmark'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/usr/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/benchmarkable.rb:41:in `benchmark'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1079:in `render_page'
/home/ubuntu/crm/releases/20220520131356/app/models/cms/engine.rb:1374:in `render'
/home/ubuntu/crm/releases/20220520131356/app/controllers/render_controller.rb:245:in `page'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:198:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:117:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:117:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:505:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:505:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `block in instrument'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb:164:in `instrument'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.11.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb:137:in `process'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb:30:in `process'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:196:in `dispatch'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_controller/metal.rb:237:in `block in action'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:74:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:43:in `serve'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/mapper.rb:49:in `serve'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:30:in `each'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/journey/router.rb:30:in `serve'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/routing/route_set.rb:817:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/exception_notification-4.4.0/lib/exception_notification/rack.rb:36:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/etag.rb:24:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/conditionalget.rb:25:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/head.rb:13:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:252:in `context'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/session/abstract/id.rb:247:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.11.3/lib/active_record/query_cache.rb:36:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:38:in `call_app'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `block in call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:26:in `tagged'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/tagged_logging.rb:68:in `tagged'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/rack/logger.rb:20:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/methodoverride.rb:22:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/runtime.rb:18:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.11.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/rack-1.6.13/lib/rack/sendfile.rb:113:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/engine.rb:518:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/application.rb:165:in `call'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/railtie.rb:194:in `public_send'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/railties-4.2.11.3/lib/rails/railtie.rb:194:in `method_missing'
/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

{:params=>{"controller"=>"render", "action"=>"page", "url"=>"events/maxi-rolex-cup-porto-cervo"}, :page_object=>nil, :page_objects=>#, #, #, #, #, #, #, #, #, #, ...]>, :unfiltered_page_objects=>#, #, #, #, #, #, #, #, #, #, ...]>, :url_object=>nil, :layout_object=>nil, :layout_objects=>[], :literal_data=>nil, :module_object=>nil, :module_objects=>[], :object=>nil, :objects=>#, #, #, #, #, #, #, #, #, #, ...]>, :defined_object=>nil, :defined_objects=>nil, :url_objects=>[], :siblings=>[]}