System error

error:  Can't call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.
context: 
... 
6: 
7:  # db connection stuff
8:  # run queries to get basic information about docket number
9:  my $dbh = dbconfig::lii_connect('supct', 'show_production_web_pages');
10:  my $sth = $dbh -> prepare(qq{
11:  SELECT OffCite.OffCite
12:  FROM CaseID, OffCite
13:  WHERE OffCite.CASEID=CaseID.CASEID
14:  AND CaseID.DocketNumber='$docket'
... 
code stack:  /var/www/html/supct/inclusions/offcite.mas:10
/var/www/html/supct/html/03-334.ZS.html:28
raw error






























Can't call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.


Trace begun at /usr/local/share/perl/5.30.0/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.^J') called at /var/www/html/supct/inclusions/offcite.mas line 10
HTML::Mason::Commands::__ANON__('docket', '03-334') called at /usr/local/share/perl/5.30.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x564d2cd24710)', 'docket', '03-334') called at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'docket', '03-334') called at /var/www/html/supct/html/03-334.ZS.html line 28
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.30.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x564d2d9d6ef0)') called at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.30.0/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x564d2ddbc598)') called at /usr/local/share/perl/5.30.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x564d2ddbc598)') called at /usr/local/share/perl/5.30.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x564d2c81f4e8)', 'Apache2::RequestRec=SCALAR(0x564d2cfb1b90)') called at (eval 27) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x564d2cfb1b90)') called at -e line 0
eval {...} at -e line 0