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] => ksTHvN1tgqxKWUQRA3i7k0l59rAJQ8TpoUxQ6_IIr1s [2] => 54.156.37.123 [3] => 1503185916 [4] => user_login [5] => ae6874ad0d1b7523af5820a5d19b06a5 [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:448:"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] => ksTHvN1tgqxKWUQRA3i7k0l59rAJQ8TpoUxQ6_IIr1s [2] => 54.156.37.123 [3] => 1503185916 [4] => user_login [5] => ae6874ad0d1b7523af5820a5d19b06a5 [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.156.37.123 [9] => 1503185918 ) in dblog_watchdog() (line 160 of /usr/local/apache2/htdocs/current/hc2/modules/dblog/dblog.module).