Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database: INSERT INTO {captcha_sessions} (uid, sid, ip_address, timestamp, form_id, solution, status, attempts) VALUES (?, ?, ?, ?, ?, ?, ?, ?); Array ( [0] => 0 [1] => YpZ6Fw-6NBWwo4ebXM9is93V4cioWjMaZ43zuLxBkLM [2] => 54.224.38.78 [3] => 1498643927 [4] => user_login [5] => 5921bde7142e178208c0325edcc99c16 [6] => 0 [7] => 0 ) in _captcha_generate_captcha_session() (line 121 of /usr/local/apache2/htdocs/current/hc2/sites/all/modules/captcha/captcha.inc).

Additional

PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?); Array ( [0] => 0 [1] => php [2] => %type: !message in %function (line %line of %file). [3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:447:"SQLSTATE[HY000]: General error: 8 attempt to write a readonly database: INSERT INTO {captcha_sessions} (uid, sid, ip_address, timestamp, form_id, solution, status, attempts) VALUES (?, ?, ?, ?, ?, ?, ?, ?); Array ( [0] => 0 [1] => YpZ6Fw-6NBWwo4ebXM9is93V4cioWjMaZ43zuLxBkLM [2] => 54.224.38.78 [3] => 1498643927 [4] => user_login [5] => 5921bde7142e178208c0325edcc99c16 [6] => 0 [7] => 0 ) ";s:9:"%function";s:35:"_captcha_generate_captcha_session()";s:5:"%file";s:75:"/usr/local/apache2/htdocs/current/hc2/sites/all/modules/captcha/captcha.inc";s:5:"%line";i:121;s:14:"severity_level";i:3;} [4] => 3 [5] => [6] => http://uranus.media.uoa.gr/hc2/?q=user [7] => [8] => 54.224.38.78 [9] => 1498643929 ) in dblog_watchdog() (line 160 of /usr/local/apache2/htdocs/current/hc2/modules/dblog/dblog.module).