System error

error: 
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top" >
<html>
<head>
<title>Application Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in http://modperl-www-group-ppw1:8087/component/rest/customized_sites/get_catalog_categories.html Application.<hr width=100% size=1 color=silver></H1>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request.This is a very
rare occurance . Please try the request again. If you experience an error like this again, please let us know at helpdesk@tradeindia.com. Please note down and quote error id <b>52425223</b> in your communications regarding this error. To carry on browsing at tradeindia.com you may
<UL>
<LI><A HREF="/">Return to our home page</SPAN></A>
<LI>If you were looking for something and would like us to help you write to us at helpdesk@tradeindia.com.
</UL>
Thanks for your patience and once again, we are sorry for the error.
<br><br>
<b>Date/Time:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>Tue Dec 6 00:02:28 2016 </code>
</td>
</tr>
</table>
<br>
<b>Error ID:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>52425223</pre>
</code>
</td>
</tr>
</table>


<br>
<b>Error:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>
Can't use an undefined value as an ARRAY reference at /opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html line 55.

</pre>
</code>
</td>
</tr>
</table>

<br>
<b>Stack Trace:</b> <br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[/opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html:55]
[/opt/app/tradeindia/mason/syshandler:592]

Frontend URI:
Backend URI: /component/rest/customized_sites/get_catalog_categories.html
</pre></code>
</td>
</tr>
</table>
<br>
<b>URL:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre></pre></code>
</td>
</tr>
</table>
</font>

</body>
</html>
</td>
</tr>
</table>
context: 
... 
229:  my $res = $ua->post( $url,\%args);
230:  my $response;
231:  $response = $res->content();
232:  if (! $res->is_success) {
233:  die $response;
234:  }
235:  my $json_encoded = $response;
236:  $data = decode_json($json_encoded);
237:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:233
/var/www/cw/healthypharma.com/category-product3.html:15
/var/www/cw/healthypharma.com/anti-hypertensive.html:1
/var/www/cw/healthypharma.com/autohandler.html:283
/opt/app/tradeindia/cw/components/syshandler.html:79
raw error






























<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td  valign="top" >
<html>
    <head>
        <title>Application Error</title>
        <style>
        body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
        p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
        b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
        H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
        H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
        pre {font-family:"Lucida Console";font-size: .9em}
        .marker {font-weight: bold; color: black;text-decoration: none;}
        .version {color: gray;}
        .error {margin-bottom: 10px;}
        .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>
    <body bgcolor="white">
            <span><H1>Server Error in http://modperl-www-group-ppw1:8087/component/rest/customized_sites/get_catalog_categories.html Application.<hr width=100% size=1 color=silver></H1>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
            <b> Description: </b>An unhandled exception occurred during the execution of the current web request.This is a very
rare occurance . Please try the request again. If you experience an error like this again, please let us know at helpdesk@tradeindia.com. Please note down and quote error id <b>52425223</b> in your communications regarding this error. To carry on browsing at tradeindia.com you may
<UL>
<LI><A HREF="/">Return to our home page</SPAN></A>
<LI>If you were looking for something and would like us to help you write to us at helpdesk@tradeindia.com.
</UL>
Thanks for your patience and once again, we are sorry for the error.
<br><br>
            <b>Date/Time:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>Tue Dec  6 00:02:28 2016 </code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Error ID:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>
                      <pre>52425223</pre>
</code>
                  </td>
               </tr>
            </table>


           <br>
            <b>Error:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                  <code>
                      <pre>
Can't use an undefined value as an ARRAY reference at /opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html line 55.

</pre>
</code>
                  </td>
               </tr>
            </table>

          <br>
            <b>Stack Trace:</b> <br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>
  [/opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html:55]
  [/opt/app/tradeindia/mason/syshandler:592]

Frontend URI: 
Backend URI: /component/rest/customized_sites/get_catalog_categories.html
</pre></code>
                  </td>
               </tr>
            </table>
<br>
            <b>URL:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre></pre></code>
                  </td>
               </tr>
            </table>
            </font>

    </body>
</html>
</td>
  </tr>
</table>


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('^J<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">^J  <tr>^J    <td  valign="top" >^J<html>^J    <head>^J        <title>Application Error</title>^J        <style>^J        ^Ibody {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} ^J        ^Ip {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}^J        ^Ib {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}^J        ^IH1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }^J        ^IH2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }^J        ^Ipre {font-family:"Lucida Console";font-size: .9em}^J        ^I.marker {font-weight: bold; color: black;text-decoration: none;}^J        ^I.version {color: gray;}^J        ^I.error {margin-bottom: 10px;}^J        ^I.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }^J        </style>^J    </head>^J    <body bgcolor="white">^J            <span><H1>Server Error in http://modperl-www-group-ppw1:8087/component/rest/customized_sites/get_catalog_categories.html Application.<hr width=100% size=1 color=silver></H1>^J            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">^J            <b> Description: </b>An unhandled exception occurred during the execution of the current web request.This is a very^Jrare occurance . Please try the request again. If you experience an error like this again, please let us know at helpdesk@tradeindia.com. Please note down and quote error id <b>52425223</b> in your communications regarding this error. To carry on browsing at tradeindia.com you may^J<UL>^J^I<LI><A HREF="/">Return to our home page</SPAN></A>^J^I<LI>If you were looking for something and would like us to help you write to us at helpdesk@tradeindia.com.^J</UL>^JThanks for your patience and once again, we are sorry for the error.^J<br><br>^J            <b>Date/Time:</b> <br>^J            <table width=100% bgcolor="#ffffcc">^J               <tr>^J                  <td>^J^I^I^I^I^I^I^I^I^I<code>Tue Dec  6 00:02:28 2016 </code>^J                  </td>^J               </tr>^J            </table>^J            <br>^J            <b>Error ID:</b> <br>^J            <table width=100% bgcolor="#ffffcc">^J               <tr>^J                  <td>^J^I^I^I^I^I^I^I^I^I<code>^J                      <pre>52425223</pre>^J</code>^J                  </td>^J               </tr>^J            </table>^J^J^J           <br>^J            <b>Error:</b> <br>^J            <table width=100% bgcolor="#ffffcc">^J               <tr>^J                  <td>^J                  <code>^J                      <pre>^J^ICan\'t use an undefined value as an ARRAY reference at /opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html line 55.^J^J</pre>^J</code>^J                  </td>^J               </tr>^J            </table>^J^J          <br>^J            <b>Stack Trace:</b> <br>^J^J            <table width=100% bgcolor="#ffffcc">^J               <tr>^J                  <td>^J                      <code><pre>^J  [/opt/app/tradeindia/mason/component/rest/customized_sites/get_catalog_categories.html:55]^J  [/opt/app/tradeindia/mason/syshandler:592]^J^J^I^IFrontend URI: ^J^I^IBackend URI: /component/rest/customized_sites/get_catalog_categories.html^J</pre></code>^J                  </td>^J               </tr>^J            </table>^J^I^I^I^I^I^I<br>^J            <b>URL:</b> <br>^J            <table width=100% bgcolor="#ffffcc">^J               <tr>^J                  <td>^J                      <code><pre></pre></code>^J                  </td>^J               </tr>^J            </table>^J            </font>^J^J    </body>^J</html>^J^I^I</td>^J  </tr>^J</table>^J') called at /opt/app/tradeindia/cw/modules/Website.pm line 233
Website::get_categories('Website=HASH(0x7f872e86b480)', 'p_category_id', 673242, 'category_id', undef) called at /var/www/cw/healthypharma.com/category-product3.html line 15
HTML::Mason::Commands::__ANON__('p_category_id', 673242) called at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f872e858fb0)', 'p_category_id', 673242) 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, 'p_category_id', 673242) called at /var/www/cw/healthypharma.com/anti-hypertensive.html line 1
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f872d97a038)') 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(0x7f872e4c81b0)') called at /var/www/cw/healthypharma.com/autohandler.html line 283
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f872e52e830)') 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(0x7f872e4c81b0)') 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(0x7f872e720740)') 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(0x7f872e4c81b0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f872e4c81b0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f872e86b960)', 'Apache2::RequestRec=SCALAR(0x7f872e7201b8)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 69
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 68
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x7f872e7201b8)') called at -e line 0
eval {...} at -e line 0