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://k8s-prod-wwwmodpe-9fa57a38d4-fbd5d2aa59cb7efe.elb.ap-south-1.amazonaws.com: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>276260688</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>Wed Nov 20 20:57:57 2024 </code>
</td>
</tr>
</table>
<br>
<b>Error ID:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>276260688</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:739]

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: 
... 
251:  }
252:  my $response;
253:  $response = $res->content();
254:  if (! $res->is_success) {
255:  die $response;
256:  }
257:  my $json_encoded = $response;
258:  $data = decode_json($json_encoded);
259:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:255
/var/www/cw/jugalindia.com/category-product.html:151
/var/www/cw/jugalindia.com/Bevel-Gear-Generator.html:3
/var/www/cw/jugalindia.com/autohandler.html:385
/opt/app/tradeindia/cw/components/syshandler.html:77
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://k8s-prod-wwwmodpe-9fa57a38d4-fbd5d2aa59cb7efe.elb.ap-south-1.amazonaws.com: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>276260688</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>Wed Nov 20 20:57:57 2024 </code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Error ID:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>
                      <pre>276260688</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:739]

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://k8s-prod-wwwmodpe-9fa57a38d4-fbd5d2aa59cb7efe.elb.ap-south-1.amazonaws.com: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>276260688</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>Wed Nov 20 20:57:57 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>276260688</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:739]^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 255
Website::get_categories('Website=HASH(0x558f9d9ab930)', 'p_category_id', 668061, 'category_id', undef) called at /var/www/cw/jugalindia.com/category-product.html line 151
HTML::Mason::Commands::__ANON__('p_category_id', 668061) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558f9dc92f68)', 'p_category_id', 668061) 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', 668061) called at /var/www/cw/jugalindia.com/Bevel-Gear-Generator.html line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558f9d97b060)') 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(0x558f9e065300)') called at /var/www/cw/jugalindia.com/autohandler.html line 385
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558f9e8dbc30)') 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(0x558f9e065300)') called at /opt/app/tradeindia/cw/components/syshandler.html line 77
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558f9d5d4458)') 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(0x558f9e065300)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x558f9e065300)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x558f9eeed710)', 'Apache2::RequestRec=SCALAR(0x558f9dd5f990)') 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(0x558f9dd5f990)') called at -e line 0
eval {...} at -e line 0