Michael Bird's blog

Charts Incubator


Michael Bird photo Last night someone decided to come into the office at 6pm to work on IG’s charting product for the evening, even though they were on holiday for the week. They were joined by five others who ended up staying until 10pm.

Why did this happen?

Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[25006]: Read only sql transaction: 7 ERROR: cannot execute DELETE in a read-only transaction: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1586274496610b355deb4ed8.88650144 ) in lock_release_all() (line 269 of /var/ig/webcontent/drupal/includes/lock.inc).