Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [2002] No such file or directory in lock_may_be_available() (line 167 of /opt/lampp/htdocs/plataforma-v2/includes/lock.inc).

Additional

PDOException: SQLSTATE[HY000] [2002] No such file or directory in db_merge() (line 2413 of /opt/lampp/htdocs/plataforma-v2/includes/database/database.inc).