DB Error: MySQL server has gone away

Stack Trace:

File: C:\xampp\htdocs\vhost\journal\ojs\classes\session\SessionDAO.inc.php line 102
Function: DAO->update("UPDATE sessions SET user_id = ?, ip_address = ?...", Array(8))

File: C:\xampp\htdocs\vhost\journal\ojs\classes\session\SessionManager.inc.php line 161
Function: SessionDAO->updateSession(Object(Session))

File: (unknown) line (unknown)
Function: SessionManager->write("u982uu2gen2sdaq1qjjptaejl7", "")