System error

error:  Can't call method "selectrow_array" on an undefined value at /www/api.techinvestornews/docs/static_nav.mas line 8.
context: 
... 
4:  <% $html %>
5:  </ul>
6:  </div>
7:  <%init>
8:  my ($html) = $dbh->selectrow_array("SELECT value_str FROM ml_metadata WHERE key_str='footer_links'",undef);
9: 
10:  </%init>
11: 
code stack:  /www/api.techinvestornews/docs/static_nav.mas:8
/www/api.techinvestornews/docs/advertise.html:1
/www/api.techinvestornews/docs/autohandler:3
raw error






























Can't call method "selectrow_array" on an undefined value at /www/api.techinvestornews/docs/static_nav.mas line 8.


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "selectrow_array" on an undefined value at /www/api.techinvestornews/docs/static_nav.mas line 8.^J') called at /www/api.techinvestornews/docs/static_nav.mas line 8
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xf298958)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef) called at /www/api.techinvestornews/docs/advertise.html line 1
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xf58a96c)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xf58adf8)') called at /www/api.techinvestornews/docs/autohandler line 3
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xf4b9b20)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xf58adf8)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xf58adf8)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa509974)', 'Apache2::RequestRec=SCALAR(0xf3e3458)') called at /www/api.techinvestornews/lib/perl/startup.pl line 27
ApiTechinvestornews::ApacheHandler::handler('Apache2::RequestRec=SCALAR(0xf3e3458)') called at -e line 0
eval {...} at -e line 0