System error

error:  Can't call method "apply_filter" on an undefined value at /var/www/cw/delishmachine.com/autohandler.html line 19.
context: 
... 
15:  sitemap => 0
16:  content_area => 0
17:  </%attr>
18:  <%filter>
19:  $_ = $website->apply_filter(\$_) ;
20:  my $image = "img.tradeindia.com/custom_websites/images/dd_flag.png";
21:  $_ =~ s#http://($image)/#https://$1/#g;
22:  </%filter>
23: 
... 
code stack:  /var/www/cw/delishmachine.com/autohandler.html:19
/opt/app/tradeindia/cw/components/syshandler.html:79
raw error






























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


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/delishmachine.com/autohandler.html line 19.^J') called at /var/www/cw/delishmachine.com/autohandler.html line 19
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(0x7f05f6ed0b18)') 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(0x7f05f6a352e0)') 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(0x7f05f6ed0b18)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f05f6ed0b18)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f05f6602710)', 'Apache2::RequestRec=SCALAR(0x7f05f6b22c48)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 92
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 91
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x7f05f6b22c48)') called at -e line 0
eval {...} at -e line 0