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>237587867</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 Mar 19 16:52:45 2024 </code>
</td>
</tr>
</table>
<br>
<b>Error ID:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>237587867</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: 
... 
241:  my $res = $ua->post( $url,\%args);
242:  my $response;
243:  $response = $res->content();
244:  if (! $res->is_success) {
245:  die $response;
246:  }
247:  my $json_encoded = $response;
248:  $data = decode_json($json_encoded);
249:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:245
/var/www/cw/gkonline.in/category-product.html:29
/var/www/cw/gkonline.in/accessories.html:73
/var/www/cw/gkonline.in/autohandler.html:576
/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>237587867</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 Mar 19 16:52:45 2024 </code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Error ID:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>
                      <pre>237587867</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>237587867</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 Mar 19 16:52:45 2024 </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>237587867</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 245
Website::get_categories('Website=HASH(0x55b023a42998)', 'p_category_id', undef, 'category_id', 1480) called at /var/www/cw/gkonline.in/category-product.html line 29
HTML::Mason::Commands::__ANON__('category_id', 1480) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55b023ca48e0)', 'category_id', 1480) 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, 'category_id', 1480) called at /var/www/cw/gkonline.in/accessories.html line 73
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55b023690d28)') 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(0x55b02367d5b8)') called at /var/www/cw/gkonline.in/autohandler.html line 576
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55b023c63aa8)') 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(0x55b02367d5b8)') 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(0x55b022977b18)') 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(0x55b02367d5b8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55b02367d5b8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55b023a609f0)', 'Apache2::RequestRec=SCALAR(0x55b022de1e48)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 125
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 124
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x55b022de1e48)') called at -e line 0
eval {...} at -e line 0