System error

error:  Can't call method "prepare" on an undefined value at /opt/heinonline/masoncomproot/HOLTOOLS/CSV-KBART.csv line 736.
context: 
... 
732:  my $lcnt=0;
733:  my $alcnt=0;
734: 
735:  my $del_flag=0;
736:  my $sth_clear = $dbh2->prepare("delete from listings where publication_title IS NULL OR publication_title =''");
737: 
738: 
739: 
740:  my $sth_clear1 = $dbh2->prepare("delete from listings where title_id=?");
... 
code stack:  /opt/heinonline/masoncomproot/HOLTOOLS/CSV-KBART.csv:736
/opt/heinonline/masoncomproot/HOLTOOLS/autohandler:238
raw error






























Can't call method "prepare" on an undefined value at /opt/heinonline/masoncomproot/HOLTOOLS/CSV-KBART.csv line 736.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /opt/heinonline/masoncomproot/HOLTOOLS/CSV-KBART.csv line 736.^J') called at /opt/heinonline/masoncomproot/HOLTOOLS/CSV-KBART.csv line 736
HTML::Mason::Commands::__ANON__('format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55a26e65a730)', 'format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') 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, 'format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55a26fceea60)') called at /opt/heinonline/masoncomproot/HOLTOOLS/autohandler line 238
HTML::Mason::Commands::__ANON__('format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55a26e702a50)', 'format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') 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, 'format', 'txt', 'collection', 'eeplp', 'index', 'eeplp') 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(0x55a26fceea60)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55a26fceea60)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55a26daee1f8)', 'Apache2::RequestRec=SCALAR(0x55a26f4900c0)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x55a26f4900c0)') called at -e line 0
eval {...} at -e line 0