System error

error:  Can't locate object method "header_out" via package "Apache2::RequestRec" at /usr/local/lib/site_perl/auto/ScreenPoint/Core/authen_v2.al line 20.
context: 
... 
16:  -value => 0,
17:  -expires => '+2h', # -- Less than zero does not seem to del Cookie in IE7+8!
18:  -path => '/'
19:  );
20:  $self->{R}->header_out('Set-Cookie', $cookie);
21:  $self->{sid} = 0; # -- Page or function will create a fresh session id upon request
22:  return (0, 'Logout completed');
23:  }
24: 
... 
code stack:  /usr/local/lib/site_perl/auto/ScreenPoint/Core/authen_v2.al:20
/var/www/html/logout.html:12
raw error






























Can't locate object method "header_out" via package "Apache2::RequestRec" at /usr/local/lib/site_perl/auto/ScreenPoint/Core/authen_v2.al line 20.


Trace begun at /usr/local/share/perl/5.36.0/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "header_out" via package "Apache2::RequestRec" at /usr/local/lib/site_perl/auto/ScreenPoint/Core/authen_v2.al line 20.^J') called at /usr/local/lib/site_perl/auto/ScreenPoint/Core/authen_v2.al line 20
ScreenPoint::Core::authen_v2('ScreenPoint::Core=HASH(0x55872d0d3180)', 'user', undef, 'pass', undef, 'action', 'logout') called at /var/www/html/logout.html line 12
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.36.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55872d1210b8)') called at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.36.0/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55872ceea1c8)') called at /usr/local/share/perl/5.36.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55872ceea1c8)') called at /usr/local/share/perl/5.36.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55872be13930)', 'Apache2::RequestRec=SCALAR(0x55872c2e1c28)') called at (eval 25) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x55872c2e1c28)') called at -e line 0
eval {...} at -e line 0