A PHP Error was encountered

Severity: Warning

Message: mysqli::mysqli(): MySQL server has gone away

Filename: classes/class.db.php

Line Number: 95

Backtrace:

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/classes/class.db.php
Line: 95
Function: mysqli

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/classes/class.db.php
Line: 917
Function: __construct

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/dbconnect.php
Line: 10
Function: getInstance

File: /var/www/vhosts/redchip.com/httpdocs/application/views/company/jumbotron_graphic.php
Line: 4
Function: include

File: /var/www/vhosts/redchip.com/httpdocs/application/controllers/Company.php
Line: 233
Function: view

File: /var/www/vhosts/redchip.com/httpdocs/application/controllers/Company.php
Line: 76
Function: show_company_page

File: /var/www/vhosts/redchip.com/httpdocs/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli::mysqli(): Error while reading greeting packet. PID=21014

Filename: classes/class.db.php

Line Number: 95

Backtrace:

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/classes/class.db.php
Line: 95
Function: mysqli

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/classes/class.db.php
Line: 917
Function: __construct

File: /var/www/vhosts/redchip.com/httpdocs/portal/analytics/database/dbconnect.php
Line: 10
Function: getInstance

File: /var/www/vhosts/redchip.com/httpdocs/application/views/company/jumbotron_graphic.php
Line: 4
Function: include

File: /var/www/vhosts/redchip.com/httpdocs/application/controllers/Company.php
Line: 233
Function: view

File: /var/www/vhosts/redchip.com/httpdocs/application/controllers/Company.php
Line: 76
Function: show_company_page

File: /var/www/vhosts/redchip.com/httpdocs/index.php
Line: 292
Function: require_once

Unable to connect to database