Action Controller: Exception caught

NoMethodError in UsafuneralhomesonlineController#main_panel

undefined method `keys' for nil:NilClass

RAILS_ROOT: /usr/wp/trunk/wp/wp

Application Trace | Framework Trace | Full Trace
app/models/wpress/funeral_db.rb:112:in `page_from_path'
app/controllers/wpress/usafuneralhomesonline_controller.rb:36:in `setup'
app/controllers/wpress_controller.rb:90:in `_call_action'
app/controllers/wpress_controller.rb:51:in `render_shortcode'
app/controllers/wpress_controller.rb:31:in `handle_shortcode'

Request

Parameters:

{"from_wpress"=>true,
 "id"=>nil,
 "request_host"=>"www.usafuneralhomesonline.com",
 "host"=>"www.usafuneralhomesonline.com",
 "path"=>"/funeralhomesbystate/wisconisinfuneralhomes/wisconsinfuneraldirectors02.html",
 "for"=>"main_panel",
 "request_path"=>"/funeralhomesbystate/wisconisinfuneralhomes/wisconsinfuneraldirectors02.html"}

Show session dump

Response

Headers:

{"cookie"=>[],
 "Cache-Control"=>"no-cache"}