System error

error:  Can't use an undefined value as an ARRAY reference at /var/www/cw/kharbandaautomotives.in/bajaj-tuk-tuk-spare-parts.html line 23.
context: 
... 
19: 
20:  unless($num_data){
21:  $total_data=1;
22:  my $total_data = $m->comp('scripts/catalog_category.html',catalog_id=>$catalog_id,category_id=>$category_id,p_category_id=>$p_category_id,per_page=>$per_page,page_no=>$page_no,total_data=>$total_data);
23:  $num_data = scalar ( @{$total_data->{Prod}} );
24:  }
25: 
26:  $ARGS{total_data}=0;
27:  my $data = $m->comp('scripts/catalog_category.html',catalog_id=>$catalog_id,category_id=>$category_id,p_category_id=>$p_category_id,per_page=>$per_page,page_no=>$page_no,total_data=>$total_data);
... 
code stack:  /var/www/cw/kharbandaautomotives.in/bajaj-tuk-tuk-spare-parts.html:23
/var/www/cw/kharbandaautomotives.in/autohandler.html:114
/opt/app/tradeindia/cw/components/syshandler.html:79
raw error






























Can't use an undefined value as an ARRAY reference at /var/www/cw/kharbandaautomotives.in/bajaj-tuk-tuk-spare-parts.html line 23.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t use an undefined value as an ARRAY reference at /var/www/cw/kharbandaautomotives.in/bajaj-tuk-tuk-spare-parts.html line 23.^J') called at /var/www/cw/kharbandaautomotives.in/bajaj-tuk-tuk-spare-parts.html line 23
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f69c91af5e8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1305
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 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f69c91b2038)') called at /var/www/cw/kharbandaautomotives.in/autohandler.html line 114
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f69cad12278)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1305
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 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f69c91b2038)') 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(0x7f69cafbaa08)') 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(0x7f69c91b2038)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f69c91b2038)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f69c8e39360)', 'Apache2::RequestRec=SCALAR(0x7f69cb118a98)') 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(0x7f69cb118a98)') called at -e line 0
eval {...} at -e line 0