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://orig-www.tradeindia.com/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>246427972</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>Fri Apr 26 05:00:53 2024 </code>
</td>
</tr>
</table>
<br>
<b>Error ID:</b> <br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
<pre>246427972</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: POST /component/rest/customized_sites/get_catalog_categories.html HTTP/1.1
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>/component/rest/customized_sites/get_catalog_categories.html</pre></code>
</td>
</tr>
</table>
</font>

</body>
</html>
</td>
</tr>
</table>
context: 
... 
233:  my $res = $ua->post( $url,\%args);
234:  my $response;
235:  $response = $res->content();
236:  if (! $res->is_success) {
237:  die $response;
238:  }
239:  my $json_encoded = $response;
240:  $data = decode_json($json_encoded);
241:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/masonapache/lib/perl_lib/Website.pm:237
/var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/category-product2.html:16
/var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/collections.html:18
/var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/autohandler.html:217
/var/www/virtual/joomla.trade-india-local.com/htdocs/syshandler.html:80
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://orig-www.tradeindia.com/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>246427972</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>Fri Apr 26 05:00:53 2024 </code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Error ID:</b> <br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
<code>
                      <pre>246427972</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: POST /component/rest/customized_sites/get_catalog_categories.html HTTP/1.1
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>/component/rest/customized_sites/get_catalog_categories.html</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://orig-www.tradeindia.com/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>246427972</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>Fri Apr 26 05:00:53 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>246427972</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: POST /component/rest/customized_sites/get_catalog_categories.html HTTP/1.1^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>/component/rest/customized_sites/get_catalog_categories.html</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/masonapache/lib/perl_lib/Website.pm line 237
Website::get_categories('Website=HASH(0xa25c698)', 'p_category_id', undef, 'category_id', 1505) called at /var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/category-product2.html line 16
HTML::Mason::Commands::__ANON__('category_id', 1505) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa63158)', 'category_id', 1505) called at /usr/share/perl5/HTML/Mason/Request.pm line 1278
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, 'category_id', 1505) called at /var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/collections.html line 18
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9d08c38)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1278
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0xa1d70d0)') called at /var/www/virtual/joomla.trade-india-local.com/htdocs/kumar-enterprises/autohandler.html line 217
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa21ef30)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1278
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0xa1d70d0)') called at /var/www/virtual/joomla.trade-india-local.com/htdocs/syshandler.html line 80
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa250790)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1273
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0xa1d70d0)') called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 193
eval {...} at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 193
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0xa1d70d0)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 122
eval {...} at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 122
HTML::Mason::CGIHandler::_handler('My::CGIHandler=HASH(0xa1ce008)', 'HASH(0x9c80970)') called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 63
HTML::Mason::CGIHandler::handle_request('My::CGIHandler=HASH(0xa1ce008)') called at /opt/masonapache/lib/perl_lib/Website.pm line 1794
eval {...} at /opt/masonapache/lib/perl_lib/Website.pm line 1793
My::CGIHandler::handle_request('My::CGIHandler=HASH(0xa1ce008)') called at mason_handler.cgi line 22