System error

error:  Can't call method "quote_identifier" on unblessed reference at /usr/lib64/perl5/PMG.pm line 110.
context: 
... 
105:  $query .= $dbh->quote_identifier($col) . ' RLIKE ' . $dbh->quote($regexp);
106:  } elsif ($where->{$col} && $where->{$col} =~ tr[*?][%_]) {
107:  $query .= $dbh->quote_identifier($col) . ' LIKE ' . $dbh->quote($where->{$col});
108:  } else {
109:  if (defined($where->{$col})) {
110:  $query .= $dbh->quote_identifier($col) . ' = ' . $dbh->quote($where->{$col});
111:  } else {
112:  $query .= $dbh->quote_identifier($col) . ' IS NULL';
113:  }
... 
code stack:  /usr/lib64/perl5/PMG.pm:109
/home/pineadm/pinemeadowgolf.com/www/autohandler:139
/usr/local/share/perl5/HTML/Mason/Request.pm:944
/home/pineadm/pinemeadowgolf.com/www/autohandler:353
raw error






























Can't call method "quote_identifier" on unblessed reference at /usr/lib64/perl5/PMG.pm line 110.


Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "quote_identifier" on unblessed reference at /usr/lib64/perl5/PMG.pm line 110.^J') called at /usr/lib64/perl5/PMG.pm line 109
PMG::find('PMG::PartnerSite', 'HASH(0x7fc8018920d0)') called at /home/pineadm/pinemeadowgolf.com/www/autohandler line 139
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 146
HTML::Mason::Component::dynamic_subs_init('HTML::Mason::Component::FileBased=HASH(0x7fc8017da920)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 944
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fc80188f5b8)', 'main') called at /home/pineadm/pinemeadowgolf.com/www/autohandler line 353
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc8017da920)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fc80188f5b8)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fc80188f5b8)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fc80089c140)', 'Apache2::RequestRec=SCALAR(0x7fc80188ae68)') called at (eval 36) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fc80188ae68)') called at -e line 0
eval {...} at -e line 0