System error

error:  Can't use an undefined value as a HASH reference at /var/www/cw/akehandicrafts.com/products_details.html line 165.
context: 
... 
161: 
162:  <%perl>
163:  # Custom Field Data
164:  my $custom_field_data = $prod->{'custom_fields_data'};
165:  foreach my $data (sort %$custom_field_data) {
166:  foreach my $value (@{$custom_field_data->{$data}}) {
167:  if($value) {
168:  foreach my $a (%$value) {
169:  </%perl>
... 
code stack:  /var/www/cw/akehandicrafts.com/products_details.html:165
/var/www/cw/akehandicrafts.com/autohandler.html:365
/opt/app/tradeindia/cw/components/syshandler.html:77
raw error






























Can't use an undefined value as a HASH reference at /var/www/cw/akehandicrafts.com/products_details.html line 165.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t use an undefined value as a HASH reference at /var/www/cw/akehandicrafts.com/products_details.html line 165.^J') called at /var/www/cw/akehandicrafts.com/products_details.html line 165
HTML::Mason::Commands::__ANON__('fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5619eb383598)', 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x5619ea8bc530)') called at /var/www/cw/akehandicrafts.com/autohandler.html line 365
HTML::Mason::Commands::__ANON__('fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5619e9c165d0)', 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x5619ea8bc530)') called at /opt/app/tradeindia/cw/components/syshandler.html line 77
HTML::Mason::Commands::__ANON__('fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5619eb7ee568)', 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'handicrafted-cremation-urns', 'product_id', 5463906) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5619ea8bc530)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5619ea8bc530)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x5619eb474e88)', 'Apache2::RequestRec=SCALAR(0x5619eb4a9bd8)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 132
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 131
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x5619eb4a9bd8)') called at -e line 0
eval {...} at -e line 0