System error

error:  Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /var/www/quotewright.com/travel_coverages/dhandler line 23.
context: 
... 
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: 
26:  my $coverage_type = $r->filename;
27:  $coverage_type =~ s/.*?\/travel_coverages\/(.*?)\.html$/$1/gi;
... 
code stack:  /var/www/quotewright.com/travel_coverages/dhandler:23
/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 23.


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 23.^J') called at /var/www/quotewright.com/travel_coverages/dhandler line 23
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(0x55e282626f50)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 944
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x55e27d253088)', 'main') called at /var/quotewright.com/obj/1965742713/travel_coverages/dhandler.obj line 24
HTML::Mason::Commands::__ANON__ at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e282626f50)') 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) called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55e27d253088)') called at /var/www/quotewright.com/autohandler line 180
HTML::Mason::Commands::__ANON__ at /home/ubuntu/perl5/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e281d81b70)') 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) 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(0x55e27d253088)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55e27d253088)') called at /home/ubuntu/perl5/lib/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55e27dee9340)', 'Apache2::RequestRec=SCALAR(0x55e28276e198)') 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(0x55e28276e198)') called at -e line 0
eval {...} at -e line 0