System error

error:  Can't call method "apply_filter" on an undefined value at /var/www/cw/indiaaromaoils.com/autohandler.html line 8.
context: 
... 
4:  <& 'global.html' &>
5: 
6: 
7:  <%filter>
8:  $_ =$website->apply_filter(\$_);
9:  my $image = "img.tradeindia.com/custom_websites/images/dd_flag.png";
10:  $_ =~ s#http://($image)/#https://$1/#g
11: 
12:  </%filter>
... 
code stack:  /var/www/cw/indiaaromaoils.com/autohandler.html:8
/opt/app/tradeindia/cw/components/syshandler.html:79
raw error






























Can't call method "apply_filter" on an undefined value at /var/www/cw/indiaaromaoils.com/autohandler.html line 8.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "apply_filter" on an undefined value at /var/www/cw/indiaaromaoils.com/autohandler.html line 8.^J') called at /var/www/cw/indiaaromaoils.com/autohandler.html line 8
HTML::Mason::Commands::__ANON__('') called at /usr/share/perl5/HTML/Mason/Request.pm line 1320
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f04642e0fe0)') called at /opt/app/tradeindia/cw/components/syshandler.html line 79
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f046437a2e8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1303
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f04642e0fe0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f04642e0fe0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f04642dae08)', 'Apache2::RequestRec=SCALAR(0x7f0463c22790)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 88
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 87
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x7f0463c22790)') called at -e line 0
eval {...} at -e line 0