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://10.1.3.210: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>200882871</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>Sat Dec 23 12:24:12 2023 </code>
</td>
</tr>
</table>
<br>
<b>Error ID:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>200882871</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 57.

</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:57]
[/opt/app/tradeindia/mason/syshandler:719]

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: 
... 
235:  my $res = $ua->post( $url,\%args);
236:  my $response;
237:  $response = $res->content();
238:  if (! $res->is_success) {
239:  die $response;
240:  }
241:  my $json_encoded = $response;
242:  $data = decode_json($json_encoded);
243:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:239
/var/www/cw/healthypharma.com/category-product.html:15
/var/www/cw/healthypharma.com/anti-fungal.html:1
/var/www/cw/healthypharma.com/autohandler.html:300
/opt/app/tradeindia/cw/components/syshandler.html:76
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://10.1.3.210: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>200882871</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>Sat Dec 23 12:24:12 2023 </code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Error ID:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>
                      <pre>200882871</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 57.

</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:57]
  [/opt/app/tradeindia/mason/syshandler:719]

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 125
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://10.1.3.210: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>200882871</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>Sat Dec 23 12:24:12 2023 </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>200882871</pre>^J^I^I^I^I^I^I^I^I^I^I</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 57.^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:57]^J  [/opt/app/tradeindia/mason/syshandler:719]^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 239
Website::get_categories('Website=HASH(0x55e360e4f128)', 'p_category_id', 673249, 'category_id', undef) called at /var/www/cw/healthypharma.com/category-product.html line 15
HTML::Mason::Commands::__ANON__('p_category_id', 673249) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e3607a06a8)', 'p_category_id', 673249) 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, 'p_category_id', 673249) called at /var/www/cw/healthypharma.com/anti-fungal.html line 1
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e360733540)') 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) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55e3608bed50)') called at /var/www/cw/healthypharma.com/autohandler.html line 300
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e3607a9338)') 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) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55e3608bed50)') called at /opt/app/tradeindia/cw/components/syshandler.html line 76
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55e360d099f0)') 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) 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(0x55e3608bed50)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55e3608bed50)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55e360d07df0)', 'Apache2::RequestRec=SCALAR(0x55e3607c62b8)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 119
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 118
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x55e3607c62b8)') called at -e line 0
eval {...} at -e line 0