System error

error:  Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /var/www/quotewright.com/travel_coverages/dhandler line 21.
context: 
... 
17:  ################################################
18:  my $product;
19:  if (defined($m->request_args->{'product'})) {
20:  $product = $m->request_args->{'product'};
21:  $m->session->{'product'} = $product;
22:  } else {
23:  $product = $m->session->{'product'} || 'bundle';
24:  }
25: 
... 
code stack:  /var/www/quotewright.com/travel_coverages/dhandler:21
/home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm:944
/var/quotewright.com/obj/1965742713/travel_coverages/dhandler.obj:24
/var/www/quotewright.com/autohandler:180
raw error






























Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /var/www/quotewright.com/travel_coverages/dhandler line 21.


Trace begun at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /var/www/quotewright.com/travel_coverages/dhandler line 21.^J') called at /var/www/quotewright.com/travel_coverages/dhandler line 21
HTML::Mason::Commands::__ANON__ at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Component.pm line 146
HTML::Mason::Component::dynamic_subs_init('HTML::Mason::Component::FileBased=HASH(0x55e2825cfd30)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 944
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x55e2824d5a60)', 'main', 'product', 'bundle') called at /var/quotewright.com/obj/1965742713/travel_coverages/dhandler.obj line 24
HTML::Mason::Commands::__ANON__('product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e2825cfd30)', 'product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55e2824d5a60)') called at /var/www/quotewright.com/autohandler line 180
HTML::Mason::Commands::__ANON__('product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e282283b90)', 'product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'product', 'bundle') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55e2824d5a60)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55e2824d5a60)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55e2811d86c8)', 'Apache2::RequestRec=SCALAR(0x55e2824d7700)') called at /home/ubuntu/quotewright/QuoteWright/Wrapper.pm line 145
eval {...} at /home/ubuntu/quotewright/QuoteWright/Wrapper.pm line 145
QuoteWright::Wrapper::handler('Apache2::RequestRec=SCALAR(0x55e2824d7700)') called at -e line 0
eval {...} at -e line 0