Warning: PDOStatement::execute(): MySQL server has gone away in /var/sites/l/logbookloans.website/public_html/classes/DB.class.php on line 127

Warning: PDOStatement::execute(): Error reading result set's header in /var/sites/l/logbookloans.website/public_html/classes/DB.class.php on line 127

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /var/sites/l/logbookloans.website/public_html/classes/DB.class.php:127 Stack trace: #0 /var/sites/l/logbookloans.website/public_html/classes/DB.class.php(127): PDOStatement->execute() #1 /var/sites/l/logbookloans.website/public_html/classes/DB.class.php(179): DB->Init('select location...', NULL) #2 /var/sites/l/logbookloans.website/public_html/classes/DBModel.class.php(392): DB->query('\r\n\t\t\tselect loc...') #3 /var/sites/l/logbookloans.website/public_html/logbook-loans.php(39): DBModel->getNearestLocations('51.49462', '-1.34599') #4 {main} thrown in /var/sites/l/logbookloans.website/public_html/classes/DB.class.php on line 127