Error

The website encountered an unexpected error. Please try again later.

Error message

Error: Call to a member function query() on boolean in apdqc_query() (line 803 of /var/www/html/drupal-v4/sites/all/modules/contrib/apdqc/apdqc.mysql.inc).

Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 128414107665f90121c982c9.24062646 ) in _apdqc_lock_release_all() (line 371 of /var/www/html/drupal-v4/sites/all/modules/contrib/apdqc/apdqc.lock.db.inc).