( ! ) Fatal error: Uncaught PDOException: PDO::__construct(): MySQL server has gone away in /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/class.cp.php:2756
Stack trace:
#0 /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/class.cp.php(2756): PDO->__construct('mysql:host=loca...', 'beaconsfield', 'b~!mH01EEKvRhDp...')
#1 /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/class.cp.php(3174): cp->get_mysql_connection()
#2 /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/cp_create_legacy_config_globals.php(12): cp->__get('mysql')
#3 /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/db.php(152): include('/var/www/vhosts...')
#4 /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/index.php(2): require('/var/www/vhosts...')
#5 {main}
Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/class.cp.php on line 2756 |
( ! ) PDOException: PDO::__construct(): MySQL server has gone away in /var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/class.cp.php on line 2756 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 406528 | {main}( ) | .../index.php:0 |
2 | 0.0758 | 2597688 | require( '/var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/db.php ) | .../index.php:2 |
3 | 0.4538 | 4833504 | include( '/var/www/vhosts/beaconsfieldtownfc.co.uk/httpdocs/cp_create_legacy_config_globals.php ) | .../db.php:152 |
4 | 0.4538 | 4833504 | cp->__get( $field = 'mysql' ) | .../cp_create_legacy_config_globals.php:12 |
5 | 0.4538 | 4833504 | cp->get_mysql_connection( ) | .../class.cp.php:3174 |
6 | 0.4538 | 4833880 | __construct( $dsn = 'mysql:host=localhost;dbname=beaconsfield', $username = 'beaconsfield', $passwd = 'b~!mH01EEKvRhDpchpTzeiRsGR1p764Pvtyi1kcZfGX3uNP3v+6ouQ==' ) | .../class.cp.php:2756 |