Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 11281800225d11cf34aef5a5.63878142 ) in lock_release_all() (line 269 of /web/sites/d.macmurrayranch.com/includes/lock.inc).